Documentation ¶
Index ¶
- type Codec
- func (b *Codec) BuildQuery(qu interface{}, offset, limit int32) (interface{}, interface{}, error)
- func (b *Codec) FlushCustomFacets() (facets []interface{})
- func (b *Codec) GetModel(cfg configx.Values) (interface{}, bool)
- func (b *Codec) Marshal(input interface{}) (interface{}, error)
- func (b *Codec) Unmarshal(indexed interface{}) (interface{}, error)
- func (b *Codec) UnmarshalFacet(data interface{}, facets chan interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct { ResultBasenameFacetCount int32 ResultContentFacetCount int32 // contains filtered or unexported fields }
func NewQueryCodec ¶
func NewQueryCodec(values configx.Values, provider *meta.NsProvider) *Codec
func (*Codec) BuildQuery ¶
func (*Codec) FlushCustomFacets ¶
func (b *Codec) FlushCustomFacets() (facets []interface{})
func (*Codec) UnmarshalFacet ¶
func (b *Codec) UnmarshalFacet(data interface{}, facets chan interface{})
Click to show internal directories.
Click to hide internal directories.