config

package
v0.0.0-...-b8d73c3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configs configs

Functions

func Init

func Init(Config, ConfigPath *string)

Types

type Couchbase

type Couchbase struct {
	Addresses string `yaml:"addresses"`
	Username  string `yaml:"username"`
	Password  string `yaml:"password"`
}

type DgraphConfig

type DgraphConfig struct {
	Addresses []string `yaml:"addresses"`
}

type Microservices

type Microservices struct {
	UserService microserviceInfo `yaml:"user_service"`
}

type MinIOConfig

type MinIOConfig struct {
	Addresses       string `yaml:"addresses"`
	AccessKeyID     string `yaml:"access_key_id"`
	SecretAccessKey string `yaml:"secret_access_key"`
}

type NatsConfig

type NatsConfig struct {
	Addresses     []string `yaml:"addresses"`
	NatsClusterID string   `yaml:"nats_cluster_id"`
}

type RedisConfig

type RedisConfig struct {
	Addresses []string `yaml:"Addresses"`
}

type ScylladbConfig

type ScylladbConfig struct {
	Addresses []string `yaml:"addresses"`
	KeySpace  string   `yaml:"key_space"`
}

type Secrets

type Secrets struct {
	GrpcToken string `yaml:"grpc_token"`
	JwtSecret string `yaml:"jwt_secret"`
}

type ServiceConfig

type ServiceConfig struct {
	HttpPort    string `yaml:"http_port"`
	GrpcPort    string `yaml:"grpc_port"`
	ServiceName string `yaml:"service_name"`
}

Jump to

Keyboard shortcuts

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