common

package
v0.0.0-...-489c00f Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InventoryHistoryStateNotOut = 1
	InventoryHistoryStateOut    = 2
	RememberMeCookieName        = "remember-me-token"
	TopicPaymentDone            = "mu.micro.book.topic.payment.done"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Abd

type Abd struct {
	Xyz string `json:"xyz"`
	Ttt string `json:"ttt"`
}

type Admin

type Admin struct {
	Name string `json:"name"`
}

Consul 配置

type Consul

type Consul struct {
	Enabled bool   `json:"enabled"`
	Host    string `json:"host"`
	Port    int    `json:"port"`
}

Consul 配置

type ImCfg

type ImCfg struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Address string `json:"address"`
	Port    int    `json:"port"`
}

AppCfg common config

func (*ImCfg) Addr

func (a *ImCfg) Addr() string

type Jwt

type Jwt struct {
	SecretKey string `json:"secretKey"`
}

type SrvCfg

type SrvCfg struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Address string `json:"address"`
	Port    int    `json:"port"`
}

AppCfg common config

func (*SrvCfg) Addr

func (a *SrvCfg) Addr() string

Jump to

Keyboard shortcuts

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