Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenRSA2048 ¶ added in v0.3.0
Types ¶
type Client ¶ added in v0.2.1
type Server ¶
type Server struct {
LogLevel loggo.Level
Pattern string
ListenAddr string
TLS bool
CertPath string
KeyPath string
Proxy string
Upgrader *websocket.Upgrader
CreatedAt time.Time
Opened uint64
Closed uint64
Uploaded uint64
Downloaded uint64
}
func (*Server) HandleWebSocket ¶ added in v0.4.0
func (server *Server) HandleWebSocket(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.