Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArborServer ¶
type ArborServer struct {
// contains filtered or unexported fields
}
ArborServer is a struct that manages the proxy server
func NewServer ¶
func NewServer(routes services.RouteCollection, addr string, port uint16) *ArborServer
NewServer creates a new ArborSever
func StartSecuredServer ¶
func StartSecuredServer(routes services.RouteCollection, addr string, port uint16) *ArborServer
StartSecuredServer starts a secured arbor server (Token required for access)
Provide a set of routes to serve and a port to serve on.
func StartUnsecuredServer ¶
func StartUnsecuredServer(routes services.RouteCollection, addr string, port uint16) *ArborServer
StartUnsecuredServer starts an unsecured arbor server (Token required for access)
Provide a set of routes to server and a port to serve on/
func (*ArborServer) StartServer ¶
func (a *ArborServer) StartServer()
StartServer starts the http server in a goroutine to start listening
type StatusResponseWriter ¶
type StatusResponseWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func (*StatusResponseWriter) WriteHeader ¶
func (rec *StatusResponseWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.