Documentation ¶
Index ¶
- Constants
- func AuthMiddleware(next http.Handler) http.Handler
- func CorsMiddleware(next http.Handler) http.Handler
- func IsTempusValid(encrypted string) bool
- func NewEndpointPing(w *Web) *registry.Endpoint
- func NewEndpointStatic(w *Web) *registry.Endpoint
- func NewTempusToken() string
- type AuthPermission
- type Mutex
- type Web
- type WebOpt
- type WebServeOpts
Constants ¶
View Source
const URLPing core_types.Url = "/ping"
View Source
const UrlStatic core_types.Url = "/"
Variables ¶
This section is empty.
Functions ¶
func IsTempusValid ¶
func NewEndpointPing ¶
func NewEndpointStatic ¶
func NewTempusToken ¶
func NewTempusToken() string
Types ¶
type AuthPermission ¶
type Web ¶
type Web struct { AppDataMutex Mutex // contains filtered or unexported fields }
func (*Web) Serve ¶
func (w *Web) Serve(opts WebServeOpts)
type WebServeOpts ¶
type WebServeOpts struct {
Port *int
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.