Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
func Serve(config *ServerConfig) error
func TokenBasedLoginUrl ¶
Types ¶
type RouterConfig ¶
type RouterConfig struct {
DbDebug bool
Webauthn webauthn.Config
Limit RouterLimitConfig
SessionKey []byte
UserRegistrationEnabled bool
Login LoginConfig
Auth auth.Config
}
type RouterLimitConfig ¶
type ServerConfig ¶
type ServerConfig struct {
Router RouterConfig
ServeType ServeType
HttpPort string
}
Click to show internal directories.
Click to hide internal directories.