common

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrUserExists

type ErrUserExists struct {
	// contains filtered or unexported fields
}

type ServerConfig

type ServerConfig struct {
	Verbose         bool                         `yaml:"verbose"`
	DatabaseManager config.DatabaseManagerConfig `yaml:"db-manager"`
	Http            config.HttpServerConfig      `yaml:"http"`
	Grpc            config.GrpcServerConfig      `yaml:"grpc"`
	Tracing         config.TracingConfig         `yaml:"tracing"`
}

TODO: logging config, need to wait for gommon/log TODO: use pointer allow use to detect if it is read from yaml

type User

type User struct {
	Name     string
	Password string
}

Jump to

Keyboard shortcuts

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