Documentation ¶
Index ¶
- Variables
- func New(cfg config.Configuration) (datastore.DatabaseClient, error)
- func NewApiRoleRepo(db *badgerhold.Store) datastore.APIKeyRepository
- func NewApplicationRepo(db *badgerhold.Store) datastore.ApplicationRepository
- func NewEventDeliveryRepository(db *badgerhold.Store) datastore.EventDeliveryRepository
- func NewEventRepo(db *badgerhold.Store) datastore.EventRepository
- func NewGroupRepo(db *badgerhold.Store) datastore.GroupRepository
- type Client
- func (c *Client) APIRepo() datastore.APIKeyRepository
- func (c *Client) AppRepo() datastore.ApplicationRepository
- func (c *Client) Client() interface{}
- func (c *Client) Disconnect(context.Context) error
- func (c *Client) EventDeliveryRepo() datastore.EventDeliveryRepository
- func (c *Client) EventRepo() datastore.EventRepository
- func (c *Client) GetName() string
- func (c *Client) GroupRepo() datastore.GroupRepository
- type TimeDuration
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPeriod = errors.New("specified data cannot be generated for period")
Functions ¶
func New ¶
func New(cfg config.Configuration) (datastore.DatabaseClient, error)
func NewApiRoleRepo ¶
func NewApiRoleRepo(db *badgerhold.Store) datastore.APIKeyRepository
func NewApplicationRepo ¶
func NewApplicationRepo(db *badgerhold.Store) datastore.ApplicationRepository
func NewEventDeliveryRepository ¶
func NewEventDeliveryRepository(db *badgerhold.Store) datastore.EventDeliveryRepository
func NewEventRepo ¶
func NewEventRepo(db *badgerhold.Store) datastore.EventRepository
func NewGroupRepo ¶
func NewGroupRepo(db *badgerhold.Store) datastore.GroupRepository
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) APIRepo ¶
func (c *Client) APIRepo() datastore.APIKeyRepository
func (*Client) AppRepo ¶
func (c *Client) AppRepo() datastore.ApplicationRepository
func (*Client) EventDeliveryRepo ¶
func (c *Client) EventDeliveryRepo() datastore.EventDeliveryRepository
func (*Client) EventRepo ¶
func (c *Client) EventRepo() datastore.EventRepository
func (*Client) GroupRepo ¶
func (c *Client) GroupRepo() datastore.GroupRepository
type TimeDuration ¶
type TimeDuration struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.