Documentation
¶
Overview ¶
Package server implements the gdprprocessor service HTTP API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ServiceName string `env:"SERVICE_NAME" env-default:"gdprprocessor"`
Port string `env:"PORT" env-default:"8137"`
LogLevel string `env:"LOG_LEVEL" env-default:"info"`
}
Config is the gdprprocessor service environment configuration.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps the GDPR processor HTTP API.
func NewWithStore ¶
NewWithStore constructs the server with a custom store (tests).
Click to show internal directories.
Click to hide internal directories.