Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidTokenError ¶
type InvalidTokenError struct {
// contains filtered or unexported fields
}
InvalidTokenError signals invalid token usage
func (*InvalidTokenError) Error ¶
func (e *InvalidTokenError) Error() string
type Token ¶
type Token struct { Value string // contains filtered or unexported fields }
Token token used for webserver communication
type TokenTimeout ¶
type TokenTimeout func(token *Token)
TokenTimeout callback when a token times out
type WebServer ¶
WebServer REST endpoint for sending data
func New ¶
func New(c *configuration.Configuration, l *gosteno.Logger) *WebServer
New creates a new WebServer
func (*WebServer) TokenTimeout ¶
Click to show internal directories.
Click to hide internal directories.