app

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register() common.Caller

Types

type CallerCfg

type CallerCfg struct {
	Name    string
	Version string
	Env     string
}

func (CallerCfg) AppKey

func (cfg CallerCfg) AppKey() string

AppKey will return a string representing current APP. The result looks like Name-Version-Env

type Cfg

type Cfg struct {
	Muses struct {
		App CallerCfg `toml:"app"`
	} `toml:"muses"`
}

func Config

func Config() Cfg

type Client

type Client struct{}

Jump to

Keyboard shortcuts

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