listinternal

package
v1.0.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyOptions

func ApplyOptions(opts *Options, funcOpts []Option)

Types

type FuncOption

type FuncOption func(*Options)

type Option

type Option interface {
	// contains filtered or unexported methods
}

type Options

type Options struct {
	Reverse, CountTotal         bool
	Offset, Limit, DefaultLimit uint64
	Cursor                      []byte
	Filter                      func(proto.Message) bool
}

Options is the internal list options struct.

func (Options) Validate

func (o Options) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL