Documentation
¶
Index ¶
- type DuplicationError
- type Store
- func (s *Store) CreateEventsTable() error
- func (s *Store) CreateKey(rk *key.RequestKey) (*key.ResponseKey, error)
- func (s *Store) CreateKeysTable() error
- func (s *Store) DeleteKey(id string) error
- func (s *Store) DropEventsTable() error
- func (s *Store) DropKeysTable() error
- func (s *Store) GetAllKeys() ([]*key.ResponseKey, error)
- func (s *Store) GetEventDataPoints(start, end, increment int64, tags, keyIds []string) ([]*event.DataPoint, error)
- func (s *Store) GetKey(keyId string) (*key.ResponseKey, error)
- func (s *Store) GetKeysByTag(tag string) ([]*key.ResponseKey, error)
- func (s *Store) GetLatencyPercentiles(start, end int64, tags, keyIds []string) ([]float64, error)
- func (s *Store) GetUpdatedKeys(interval time.Duration) ([]*key.ResponseKey, error)
- func (s *Store) InsertEvent(e *event.Event) error
- func (s *Store) UpdateKey(id string, uk *key.UpdateKey) (*key.ResponseKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DuplicationError ¶
type DuplicationError struct {
// contains filtered or unexported fields
}
func NewDuplicationError ¶
func NewDuplicationError(msg string) *DuplicationError
func (*DuplicationError) Duplication ¶
func (de *DuplicationError) Duplication()
func (*DuplicationError) Error ¶
func (de *DuplicationError) Error() string
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CreateEventsTable ¶ added in v0.0.9
func (*Store) CreateKey ¶
func (s *Store) CreateKey(rk *key.RequestKey) (*key.ResponseKey, error)
func (*Store) CreateKeysTable ¶
func (*Store) DropEventsTable ¶ added in v0.0.9
func (*Store) DropKeysTable ¶
func (*Store) GetAllKeys ¶
func (s *Store) GetAllKeys() ([]*key.ResponseKey, error)
func (*Store) GetEventDataPoints ¶ added in v0.0.9
func (*Store) GetKey ¶ added in v0.0.7
func (s *Store) GetKey(keyId string) (*key.ResponseKey, error)
func (*Store) GetKeysByTag ¶
func (s *Store) GetKeysByTag(tag string) ([]*key.ResponseKey, error)
func (*Store) GetLatencyPercentiles ¶ added in v0.0.9
func (*Store) GetUpdatedKeys ¶
Click to show internal directories.
Click to hide internal directories.