Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericServerProviderFn ¶
GenericServerProviderFn generic function that implements ServerProviderFn interface
type Server ¶
type Server struct {
Fns map[string]ServerProviderFn
Container *restful.Container
Addr string
TLS bool
CertFile string
KeyFile string
}
Server the external provider server
func NewServer ¶
func NewServer(path string, fns map[string]ServerProviderFn) *Server
NewServer create a server for serving as cuex external
func (*Server) ListenAndServe ¶
ListenAndServe start the server
func (*Server) NewCommand ¶
NewCommand create start command
Click to show internal directories.
Click to hide internal directories.