Documentation ¶ Index ¶ type Broker func NewBroker(v *viper.Viper, logger *zap.Logger, influx influxdb2.Client) (*Broker, error) type Redis func NewRedis(broker *Broker, rdb *redis.Client) (*Redis, error) func (b *Redis) Run() type Runner type Server func NewServer(broker *Broker) (*Server, error) func (b *Server) Run() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Broker ¶ type Broker struct { Org string Bucket string // contains filtered or unexported fields } func NewBroker ¶ added in v0.0.6 func NewBroker(v *viper.Viper, logger *zap.Logger, influx influxdb2.Client) (*Broker, error) type Redis ¶ added in v0.0.6 type Redis struct { // contains filtered or unexported fields } func NewRedis ¶ added in v0.0.6 func NewRedis(broker *Broker, rdb *redis.Client) (*Redis, error) func (*Redis) Run ¶ added in v0.0.6 func (b *Redis) Run() type Runner ¶ added in v0.0.6 type Runner interface { Run() } type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ added in v0.0.6 func NewServer(broker *Broker) (*Server, error) func (*Server) Run ¶ func (b *Server) Run() Source Files ¶ View all Source files broker.go redis.go server.go Click to show internal directories. Click to hide internal directories.