models

package
v1.17.6-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

type DingTalk struct {
	ClientID string `yaml:"clientID"`
	Secret   string `yaml:"secret"`
}

type Feishu

type Feishu struct {
	ClientID                 string `yaml:"clientID"`
	Secret                   string `yaml:"secret"`
	WebhookVerificationToken string `json:"webhook_verification_token"`
}

type Jwt

type Jwt struct {
	SignKey string `yaml:"signKey"`
}

type Sms

type Sms struct {
	SpCode    string `yaml:"spCode"`
	LoginName string `yaml:"loginName"`
	Password  string `yaml:"password"`
}

type SshDev

type SshDev struct {
	Token string `yaml:"token" config:"omitempty"`
}

type WebAuthn

type WebAuthn struct {
	ID     string `yaml:"id"`
	Origin string `yaml:"origin"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL