options

package
v0.0.0-...-d577d4f Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtonOptions

type ProtonOptions struct {
	// contains filtered or unexported fields
}

func New

func New(selectorAttr string, reduceAttr string, notMapped bool, bindToAttr string, typeAttr string, indexAttr string, fd protoreflect.FieldDescriptor) *ProtonOptions

func (ProtonOptions) GetBindTo

func (protonOptions ProtonOptions) GetBindTo() string

func (ProtonOptions) GetFieldName

func (protonOptions ProtonOptions) GetFieldName() string

func (ProtonOptions) GetIndex

func (protonOptions ProtonOptions) GetIndex(length int) (int, int, error)

func (ProtonOptions) GetReduceAttribute

func (protonOptions ProtonOptions) GetReduceAttribute() string

func (ProtonOptions) GetSelectAttribute

func (protonOptions ProtonOptions) GetSelectAttribute() string

func (ProtonOptions) GetType

func (protonOptions ProtonOptions) GetType() string

func (ProtonOptions) HasAttributes

func (protonOptions ProtonOptions) HasAttributes() bool

func (ProtonOptions) HasReduceAttribute

func (protonOptions ProtonOptions) HasReduceAttribute() bool

func (ProtonOptions) HasSelectAttribute

func (protonOptions ProtonOptions) HasSelectAttribute() bool

func (ProtonOptions) IsNotMapped

func (protonOptions ProtonOptions) IsNotMapped() bool

Jump to

Keyboard shortcuts

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