station

package
v0.0.0-...-ae8612d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(
	config Config,
	logger *logrus.Logger,
	authCli authpb.AuthClient,
	redisPool *redis.Pool,
	producer sarama.SyncProducer,
) error

func NewGRPCServer

func NewGRPCServer(opts ...grpc.ServerOption) (*grpc.Server, error)

Types

type Config

type Config struct {
	Producer struct {
		Topic string
	}
}

func (*Config) Valid

func (cfg *Config) Valid() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL