Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RESTServer ¶
type RESTServer struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(opts *RESTServerOptions) *RESTServer
func (*RESTServer) Get ¶
func (r *RESTServer) Get(route string, fn Handler)
func (*RESTServer) Run ¶
func (r *RESTServer) Run() error
type RESTServerOptions ¶
type RESTServerOptions struct {
Port int
}
Click to show internal directories.
Click to hide internal directories.