listinternal

package
v1.0.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 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       bool
	Cursor        []byte
	Filter        func(proto.Message) bool
	Offset, Limit uint64
	CountTotal    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