config

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Verbose bool

Functions

func SetConfig added in v0.0.4

func SetConfig()

func SetLoggerConfig added in v0.0.4

func SetLoggerConfig()

Types

type GrpcClientConfig

type GrpcClientConfig struct {
	Port      string
	Host      string
	Title     string
	Text      string
	Id        string
	Owner     string
	StartTime string
	EndTime   string
	TsLayout  string
}

func GetGrpcClientConfig

func GetGrpcClientConfig() *GrpcClientConfig

func (*GrpcClientConfig) GetEndTime added in v0.0.4

func (c *GrpcClientConfig) GetEndTime() (*timestamp.Timestamp, error)

func (*GrpcClientConfig) GetStartTime added in v0.0.4

func (c *GrpcClientConfig) GetStartTime() (*timestamp.Timestamp, error)

type GrpcServerConfig

type GrpcServerConfig struct {
	Host        string
	Port        string
	MetricsPort string
}

func GetGrpcServerConfig

func GetGrpcServerConfig() *GrpcServerConfig

type MqConfig added in v0.0.6

type MqConfig struct {
	Url string
}

func GetMqConfig added in v0.0.6

func GetMqConfig() *MqConfig

type StorageConfig

type StorageConfig struct {
	Dsn         string
	StorageType string
}

func GetStorageConfig

func GetStorageConfig() *StorageConfig

Jump to

Keyboard shortcuts

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