package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Oct 14, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AttachmentConfig struct {
Enabled bool `mapstructure:"enabled"`
MaxSize int64 `mapstructure:"max_size"`
AllowedTypes []string `mapstructure:"allowed_types"`
}
type Config struct {
Host string `mapstructure:"host"`
Port int `mapstructure:"port"`
RemoteURL string `mapstructure:"remote_url"`
AuthToken string `mapstructure:"auth_token"`
ClientType string `mapstructure:"client_type"`
Attachment AttachmentConfig `mapstructure:"attachment"`
}
Validate checks if the configuration has all required fields for API operations
Source Files
¶
Click to show internal directories.
Click to hide internal directories.