Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBase64InputTooLarge = errors.New("base64 input exceeds maximum length")
View Source
var ErrBase64UnknownEncoding = errors.New("base64 encoding not supported")
Functions ¶
Types ¶
type Base64Service ¶
type Base64Service struct{}
type Config ¶
type Config struct {
CSRF struct {
Key []byte
Secure bool
}
Server struct {
Address string
}
Logging LoggingConfig
}
func LoadEnvConfig ¶
LoadEnvConfig load new configuration from environment
type LoggingConfig ¶
type LoggingConfig struct {
Level slog.Level
Format LoggingFormat
}
type LoggingFormat ¶
type LoggingFormat string
const ( LoggingFormatText LoggingFormat = "text" LoggingFormatJSON LoggingFormat = "json" )
type PostService ¶
type PostService struct {
}
Click to show internal directories.
Click to hide internal directories.