Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServeNetutilServer ¶
func ListenAndServeNetutilServer(ipam IpamInterface, address net.IP, port uint, tlsOptions *TLSOptions) error
ListenAndServeNetutilServer initializes a server to respond to HTTP network requests on the ipam interface
Types ¶
type IpamInterface ¶
IpamInterface contains all the methods required by the server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a http.Handler which exposes netutils functionality over HTTP.
func NewServer ¶
func NewServer(ipam IpamInterface) *Server
NewServer initializes and configures the netutils_server.Server object to handle HTTP requests.
func (*Server) InstallDefaultHandlers ¶
func (s *Server) InstallDefaultHandlers()
InstallDefaultHandlers registers the default set of supported HTTP request patterns with the mux.
Click to show internal directories.
Click to hide internal directories.