Documentation ¶
Index ¶
- type Document
- type DocumentIndex
- func (i *DocumentIndex) Add(d *data.Document)
- func (i *DocumentIndex) Current() (int, *data.Document)
- func (i *DocumentIndex) Follow(enabled bool)
- func (i *DocumentIndex) Len() int
- func (i *DocumentIndex) MoveToFirst()
- func (i *DocumentIndex) MoveToLast()
- func (i *DocumentIndex) Next() (int, *data.Document)
- func (i *DocumentIndex) Prev() (int, *data.Document)
- type DocumentStore
- func (s *DocumentStore) Current() (string, *DocumentIndex)
- func (s *DocumentStore) DocumentCount() int
- func (s *DocumentStore) Follow(enabled bool)
- func (s *DocumentStore) Len() int
- func (s *DocumentStore) MoveToFirst()
- func (s *DocumentStore) MoveToLast()
- func (s *DocumentStore) Next() (int, *data.Document)
- func (s *DocumentStore) Prev() (int, *data.Document)
- func (s *DocumentStore) SetCurrent(name string)
- func (s *DocumentStore) Store(t string, d *data.Document)
- func (s *DocumentStore) Topics() []string
- type HexRenderer
- type JsonFlatRenderer
- type JsonRenderer
- type RawRenderer
- type Renderer
- type SubscriptionFilter
- type SubscriptionFilters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct {
// contains filtered or unexported fields
}
func NewDocument ¶
func NewDocument() *Document
func (*Document) SetDocument ¶
func (*Document) SetRenderer ¶
type DocumentIndex ¶
type DocumentIndex struct {
// contains filtered or unexported fields
}
func (*DocumentIndex) Add ¶
func (i *DocumentIndex) Add(d *data.Document)
func (*DocumentIndex) Follow ¶
func (i *DocumentIndex) Follow(enabled bool)
func (*DocumentIndex) Len ¶
func (i *DocumentIndex) Len() int
func (*DocumentIndex) MoveToFirst ¶
func (i *DocumentIndex) MoveToFirst()
func (*DocumentIndex) MoveToLast ¶
func (i *DocumentIndex) MoveToLast()
type DocumentStore ¶
type DocumentStore struct {
// contains filtered or unexported fields
}
func NewDocumentStore ¶
func NewDocumentStore() *DocumentStore
func (*DocumentStore) Current ¶
func (s *DocumentStore) Current() (string, *DocumentIndex)
func (*DocumentStore) DocumentCount ¶
func (s *DocumentStore) DocumentCount() int
func (*DocumentStore) Follow ¶
func (s *DocumentStore) Follow(enabled bool)
func (*DocumentStore) Len ¶
func (s *DocumentStore) Len() int
func (*DocumentStore) MoveToFirst ¶
func (s *DocumentStore) MoveToFirst()
func (*DocumentStore) MoveToLast ¶
func (s *DocumentStore) MoveToLast()
func (*DocumentStore) SetCurrent ¶
func (s *DocumentStore) SetCurrent(name string)
func (*DocumentStore) Topics ¶
func (s *DocumentStore) Topics() []string
type HexRenderer ¶
type HexRenderer struct {
// contains filtered or unexported fields
}
func NewHexRenderer ¶
func NewHexRenderer() *HexRenderer
func (*HexRenderer) Name ¶
func (r *HexRenderer) Name() string
type JsonFlatRenderer ¶ added in v0.0.3
type JsonFlatRenderer struct{}
func NewJsonFlatRenderer ¶ added in v0.0.3
func NewJsonFlatRenderer() *JsonFlatRenderer
func (*JsonFlatRenderer) Name ¶ added in v0.0.3
func (r *JsonFlatRenderer) Name() string
type JsonRenderer ¶
type JsonRenderer struct{}
func NewJsonRenderer ¶
func NewJsonRenderer() *JsonRenderer
func (*JsonRenderer) Name ¶
func (r *JsonRenderer) Name() string
type RawRenderer ¶
type RawRenderer struct{}
func NewRawRenderer ¶
func NewRawRenderer() *RawRenderer
func (*RawRenderer) Name ¶
func (r *RawRenderer) Name() string
type SubscriptionFilter ¶
type SubscriptionFilter struct {
// contains filtered or unexported fields
}
func NewSubscriptionFilter ¶
func NewSubscriptionFilter(filter string, qos network.Qos) *SubscriptionFilter
func (*SubscriptionFilter) Name ¶
func (f *SubscriptionFilter) Name() string
func (*SubscriptionFilter) Qos ¶
func (f *SubscriptionFilter) Qos() network.Qos
type SubscriptionFilters ¶
type SubscriptionFilters []*SubscriptionFilter
func NewSubscriptionFilters ¶
func NewSubscriptionFilters() *SubscriptionFilters
func (*SubscriptionFilters) Add ¶
func (f *SubscriptionFilters) Add(filter *SubscriptionFilter)
func (*SubscriptionFilters) Contains ¶
func (f *SubscriptionFilters) Contains(name string) bool
func (*SubscriptionFilters) Filters ¶
func (f *SubscriptionFilters) Filters() []*SubscriptionFilter
func (*SubscriptionFilters) Remove ¶
func (f *SubscriptionFilters) Remove(name string)
Click to show internal directories.
Click to hide internal directories.