package
0.1.4
Repository: https://github.com/metno/go-mms.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
AddNewApiKey adds a given key and message to the keys table.
CreateTemplates creates templates from the template files statically built into the binary.
No description provided by the author
No description provided by the author
HealthzHandler runs the callback function check and serializes and sends the result of that check.
No description provided by the author
ListApiKeys lists all keys in the keys table.
No description provided by the author
NewEventsDB returns an sql database object, initialized with necessary tables.
NewStateDB returns an sql database object, initialised with necessary tables.
No description provided by the author
NewService creates a service struct, containing all that is needed for a mmsd server to run.
No description provided by the author
NewStateDB returns an sql database object, initialised with necessary tables.
RemoveApiKey removes a given key from the keys table.
ValidateApiKey checks a given key against the keys table.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

About contains "static" metadata information about a service.
No description provided by the author
HTTPServerError is used when the server fails to return a correct response to the user.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Service is a struct that wires up all data that is needed for this service to run.
Version and build information.
No description provided by the author

# Type aliases

No description provided by the author