Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandlerWithUnsecuredLocalAuthorization ¶
NewHandlerWithUnsecuredLocalAuthorization processes requests with unsigned JWT tokens under the local principal's identity. Such tokens can be created by anyone without any secret knowledge.
Types ¶
type Config ¶
type Config struct { Server api.Server Authority string // External domain name with optional port number. Origins []string // Value "*" causes Origin header to be ignored. NonceStorage NonceChecker NewRequestID func(*http.Request) uint64 Monitor func(*event.Event, error) }
Config for a web server.
func (*Config) Configured ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package api contains definitions useful for accessing the HTTP and websocket APIs.
|
Package api contains definitions useful for accessing the HTTP and websocket APIs. |
debug
Package debug contains functionality useful for accessing the instance debugging API via HTTP.
|
Package debug contains functionality useful for accessing the instance debugging API via HTTP. |
internal
|
|
Click to show internal directories.
Click to hide internal directories.