Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConfigFilename = "http.yaml"
)
Config Constants
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int `yaml:"port,omitempty"` LimitPerSecond int `yaml:"limitPerSecond,omitempty"` Users []UserPassword `yaml:"users,omitempty"` SignInExpireDays int `yaml:"signInExpireDays,omitempty"` }
Config contains the parameters for Http
type Http ¶
type Http struct {
// contains filtered or unexported fields
}
Http manages the http server
type UserPassword ¶
UserPassword contains the username and password
Directories
¶
Path | Synopsis |
---|---|
Package websockets is a wrapper for gofiber websocket.
|
Package websockets is a wrapper for gofiber websocket. |
Click to show internal directories.
Click to hide internal directories.