Documentation ¶ Index ¶ func ListServices(addr string, serviceNames []string) (map[string]*Service, error) func RPCInvokeHandler(services map[string]*Service) http.Handler func Run(ctx context.Context, conf *Config) error type Config type Service Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ListServices ¶ func ListServices(addr string, serviceNames []string) (map[string]*Service, error) func RPCInvokeHandler ¶ func RPCInvokeHandler(services map[string]*Service) http.Handler func Run ¶ func Run(ctx context.Context, conf *Config) error Types ¶ type Config ¶ type Config struct { Port string `json:"port"` EtcdServer string `json:"etcd_server"` Services []string `json:"services"` } type Service ¶ type Service struct { // contains filtered or unexported fields } Source Files ¶ View all Source files api.go handers.go services.go Click to show internal directories. Click to hide internal directories.