common

package
v0.0.0-...-3f61646 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitModel

func InitModel()

Types

type Config

type Config struct {
	Micro std.ConfigService `yaml:"micro"`
	Log   std.ConfigLog     `yaml:"log"`
}
var (
	GlobalConf *Config
)

type KvStore

type KvStore interface {
	Set(k, v string, timeout int) error
	Get(k string) (string, error)
}

Jump to

Keyboard shortcuts

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