Documentation ¶
Index ¶
- type ProtonOptions
- func (protonOptions ProtonOptions) GetBindTo() string
- func (protonOptions ProtonOptions) GetFieldName() string
- func (protonOptions ProtonOptions) GetIndex(length int) (int, int, error)
- func (protonOptions ProtonOptions) GetReduceAttribute() string
- func (protonOptions ProtonOptions) GetSelectAttribute() string
- func (protonOptions ProtonOptions) GetType() string
- func (protonOptions ProtonOptions) HasAttributes() bool
- func (protonOptions ProtonOptions) HasReduceAttribute() bool
- func (protonOptions ProtonOptions) HasSelectAttribute() bool
- func (protonOptions ProtonOptions) IsNotMapped() bool
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 GetOptions ¶
func GetOptions(fd protoreflect.FieldDescriptor) *ProtonOptions
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
Click to show internal directories.
Click to hide internal directories.