Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRandPort ¶
func GetRandPort() uint16
GetRandPort generates a random port number from 1024 to 65535.
Types ¶
type Server ¶
type Server struct { Running bool // contains filtered or unexported fields }
Server is the http server implementation using 'echo' framework. It is central object for RESTful APIs in this app.
func (*Server) RegisterController ¶
func (s *Server) RegisterController(ctrl controllers.Controller)
RegisterController adds the specified controller and its routes in the server runtime environment.
Click to show internal directories.
Click to hide internal directories.