Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientHandler ¶
type ClientHandler struct {
// contains filtered or unexported fields
}
func (ClientHandler) ServeHTTP ¶
func (self ClientHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ClientModel ¶
type ClientsHandler ¶
type ClientsHandler struct {
// contains filtered or unexported fields
}
func (ClientsHandler) ServeHTTP ¶
func (self ClientsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type MappingHandler ¶
type MappingHandler struct {
// contains filtered or unexported fields
}
func (MappingHandler) ServeHTTP ¶
func (self MappingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type MappingModel ¶
type MappingsHandler ¶
type MappingsHandler struct {
// contains filtered or unexported fields
}
func (MappingsHandler) ServeHTTP ¶
func (self MappingsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type NetroxyWebServer ¶
type NetroxyWebServer struct {
// contains filtered or unexported fields
}
func NewNetroxyWebServer ¶
func NewNetroxyWebServer(serverModels []ServerModel, conf *WebConfig) *NetroxyWebServer
func (*NetroxyWebServer) GetFile ¶
func (self *NetroxyWebServer) GetFile(dir string) string
func (*NetroxyWebServer) Serve ¶
func (self *NetroxyWebServer) Serve()
type ServerHandler ¶
type ServerHandler struct {
// contains filtered or unexported fields
}
func (ServerHandler) ServeHTTP ¶
func (self ServerHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ServerModel ¶
type ServerModel interface { GetClients() []ClientModel GetClient(string) ClientModel GetMappings() []MappingModel GetMapping(int) MappingModel TurnMappingOn(int) bool TurnMappingOff(int) bool GetName() string IsTLS() bool GetClientNumber() int GetMappingNumber() int GetStartupTime() string }
type ServersHandler ¶
type ServersHandler struct {
// contains filtered or unexported fields
}
func (ServersHandler) ServeHTTP ¶
func (self ServersHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.