Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetOptions ¶
type ListOptions ¶
type ListResult ¶
type SearchOptions ¶
type Service ¶
type Service struct {
Backend string
Client *api.Client
ClientErr error
OpenStore func() (*db.Store, error)
ProgressWriter io.Writer
WarnStale bool
}
func NewService ¶
func NewService(opts ServiceOptions) *Service
func (*Service) List ¶
func (s *Service) List(ctx context.Context, opts ListOptions) (ListResult, error)
func (*Service) Search ¶
func (s *Service) Search(ctx context.Context, opts SearchOptions) (api.SearchMessagesResponse, error)
Click to show internal directories.
Click to hide internal directories.