Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frontend ¶
type Frontend struct {
// contains filtered or unexported fields
}
Frontend is the application frontend. It manages a list of activated frontend providers such as Telegram, Messenger...
type ProviderConfig ¶
type ProviderConfig struct { // Label is the provider label. Label string `json:"label" yaml:"label"` // IsActivated defines if the provider is activated or not. IsActivated bool `json:"isActivated" yaml:"isActivated"` // Token is the API provider token Token string `json:"token" yaml:"token"` // AutorizedUsers is a slice containing all authorized users. // These users are authorized to use the frontend provider. AuthorizedUsers []*provider.User `json:"authorizedUsers" yaml:"authorizedUsers"` }
ProviderConfig is a structured provider configuration.
Click to show internal directories.
Click to hide internal directories.