Documentation ¶
Index ¶
Constants ¶
View Source
const ( EntBucketHeader = "X-ent-bucket" EntTimestampHeader = "X-ent-timestamp" EntOriginHeader = "X-ent-origin" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Buckets map[string]int64 `yaml:"buckets"` Type string `yaml:"type"` LDBConfig LDBConfig `yaml:"ldb"` RemoteConfig RemoteConfig `yaml:"remote"` }
func GetDefaultConfig ¶
func GetDefaultConfig() Config
type HttpConfig ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
func (Processor) GetStorage ¶
type RemoteConfig ¶
type RemoteConfig struct { Enabled bool `yaml:"enabled"` HttpConfig HttpConfig `yaml:"http"` }
type RemoteStorage ¶
type RemoteStorage struct {
// contains filtered or unexported fields
}
func NewRemoteStorage ¶
func NewRemoteStorage(config RemoteConfig, localStorage Storage) (*RemoteStorage, error)
Click to show internal directories.
Click to hide internal directories.