Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
Method string
Path string
Handler restful.RouteFunction // actually this should be http.HandlerFunc
}
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func (*HttpServer) GetAddr ¶
func (s *HttpServer) GetAddr() string
func (*HttpServer) GetPort ¶
func (s *HttpServer) GetPort() uint
func (*HttpServer) ListenAndServe ¶
func (s *HttpServer) ListenAndServe() error
func (*HttpServer) RegisterActions ¶
func (s *HttpServer) RegisterActions(as ...Action)
Click to show internal directories.
Click to hide internal directories.