Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientStart ¶
func StartHttpClient ¶
func StartHttpClient(ip, port, serviceName, funcName string)
func StartHttpServer ¶
func StartHttpServer()
func StartService ¶
func StartService() error
Types ¶
type Config ¶
type Config struct { Log *LogConfig `yaml:"log" json:"log"` Etcd *EtcdConfig `yaml:"etcd" json:"etcd"` Server *ServerConfig `yaml:"server" json:"server"` HttpServer *HttpServerConfig `yaml:"httpServer" json:"httpServer"` }
type EtcdConfig ¶
type EtcdConfig struct {
Endpoints []string `yaml:"endpoints" json:"endpoints"`
}
type HttpServerConfig ¶
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.