Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatD360Config ¶ added in v0.5.0
type ChatD360Config struct { LinkAPI string `json:"linkAPI"` LinkAuth string `json:"linkAuth"` ClientID string `json:"clientId"` ClientSecret string `json:"clientSecret"` GrantType string `json:"grantType"` Username string `json:"username"` Password string `json:"password"` Scope string `json:"scope"` ServiceID string `json:"serviceId"` ServiceType string `json:"serviceType"` Token string `json:"token"` // contains filtered or unexported fields }
func NewChatD360Config ¶ added in v0.5.0
func NewChatD360Config() *ChatD360Config
func (*ChatD360Config) GetConfig ¶ added in v0.5.0
func (b *ChatD360Config) GetConfig() map[string]interface{}
func (*ChatD360Config) Load ¶ added in v0.5.0
func (b *ChatD360Config) Load(file string) error
type Config ¶
type Config struct { Debug bool Production bool DBConfigurationFile string AgnuDBConfigurationFile string DBConfiguration *Database AgnuDBConfiguration *Database JwtSecret string // contains filtered or unexported fields }
func NewInitialConfig ¶
NewInitialConfig reads configuration from json file and validates it
type ConfigBase ¶
type ConfigBase struct {
// contains filtered or unexported fields
}
func (*ConfigBase) ReadConfigurationFile ¶
func (cfg *ConfigBase) ReadConfigurationFile(fileName string) ([]byte, error)
type Database ¶ added in v0.6.0
type Database struct { Name string `json:"name,omitempty"` DBName string `json:"dbname,omitempty"` Engine string `json:"engine,omitempty"` Host string `json:"host,omitempty"` Port int `json:"port,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` // contains filtered or unexported fields }
func NewDatabase ¶ added in v0.6.0
type Digisac ¶ added in v0.7.0
type Digisac struct { LinkAPI string `json:"linkAPI"` Token string `json:"token"` // contains filtered or unexported fields }
func NewDigisac ¶ added in v0.7.0
func NewDigisac() *Digisac
type IChatD360Config ¶ added in v0.5.0
type INewVoiceConfig ¶
type LegalOne ¶ added in v0.9.0
type LegalOne struct { User string `json:"user"` Password string `json:"password"` LinkAuth string `json:"linkAuth"` LinkAPI string `json:"linkAPI"` // contains filtered or unexported fields }
func NewLegalOne ¶ added in v0.9.0
func NewLegalOne() *LegalOne
type MailGrid ¶
type MailGrid struct { Host string `json:"host_smtp"` LinkAPI string `json:"linkAPI"` Username string `json:"usuario_smtp"` Password string `json:"senha_smtp"` Remetente string `json:"emailRemetente"` // contains filtered or unexported fields }
func NewMailGrid ¶
func NewMailGrid() *MailGrid
type Mailer ¶
type NewVoiceConfig ¶
type NewVoiceConfig struct { LinkAPI string `json:"linkAPI"` Code string `json:"code"` Account string `json:"account"` // contains filtered or unexported fields }
func NewNewVoiceConfig ¶
func NewNewVoiceConfig() *NewVoiceConfig
func (*NewVoiceConfig) GetConfig ¶
func (b *NewVoiceConfig) GetConfig() map[string]interface{}
func (*NewVoiceConfig) Load ¶
func (b *NewVoiceConfig) Load(file string) error
type Rabbit ¶ added in v0.10.0
type Rabbit struct { DSN string `json:"dsn"` // contains filtered or unexported fields }
type Redis ¶ added in v0.10.0
type Sentry ¶ added in v0.7.8
type Sentry struct { DSN string `json:"dsn"` // contains filtered or unexported fields }
type WhatsappTemplate ¶ added in v0.6.7
type WhatsappTemplate struct { Name string `json:"name"` Namespace string `json:"namespace"` // contains filtered or unexported fields }
func NewWhatsappTemplate ¶ added in v0.6.7
func NewWhatsappTemplate() *WhatsappTemplate
func (*WhatsappTemplate) GetConfig ¶ added in v0.6.7
func (b *WhatsappTemplate) GetConfig() map[string]string
func (*WhatsappTemplate) Load ¶ added in v0.6.7
func (b *WhatsappTemplate) Load(file string) error
Click to show internal directories.
Click to hide internal directories.