package
Version:
v1.17.8
Opens a new window with list of versions in this module.
Published: Nov 29, 2023
License: AGPL-3.0
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 Config struct {
Mysql mysql.Config `yaml:"mysql"`
Redis redis.Config `yaml:"redis"`
Feishu Feishu `yaml:"feishu"`
DingTalk DingTalk `yaml:"dingTalk"`
Jwt Jwt `yaml:"jwt"`
SshDev SshDev `yaml:"sshDev"`
Sms Sms `yaml:"sms"`
WebAuthn WebAuthn `yaml:"webAuthn"`
TraceMode bool `yaml:"traceMode" config:"omitempty"`
}
type DingTalk struct {
ClientID string `yaml:"clientID"`
Secret string `yaml:"secret"`
}
type Feishu struct {
ClientID string `yaml:"clientID"`
Secret string `yaml:"secret"`
WebhookVerificationToken string `json:"webhook_verification_token"`
}
type Jwt struct {
SignKey string `yaml:"signKey"`
}
type Sms struct {
SpCode string `yaml:"spCode"`
LoginName string `yaml:"loginName"`
Password string `yaml:"password"`
}
type SshDev struct {
Token string `yaml:"token" config:"omitempty"`
}
type WebAuthn struct {
ID string `yaml:"id"`
Origin string `yaml:"origin"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.