Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Addr string `default:"localhost:8083"` Registry string `default:"consul"` RegistryAddress string `split_words:"true" default:"localhost:8500"` RpcRequestTimeout string `default:"1m"` Environments string }
func (Config) GetEnvironments ¶
Parses micro web environment urls into map.
func (Config) GetRegistry ¶
func (Config) GetRpcRequestTimeout ¶
Click to show internal directories.
Click to hide internal directories.