Documentation ¶ Index ¶ func StartServer(log *logrus.Logger, dev *device.Device, cfg *config.Config, ...) error type Server func (a *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func StartServer ¶ func StartServer(log *logrus.Logger, dev *device.Device, cfg *config.Config, tunNet *netstack.Net) error Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func (*Server) ServeHTTP ¶ func (a *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) Source Files ¶ View all Source files server.go webui.go Click to show internal directories. Click to hide internal directories.