apollo

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BarkConfig

type BarkConfig struct {
	DeviceIds []string `json:"deviceIds"`

	OnlyMsgPath     string `json:"onlyMsgPath"`
	TitleAndMsgPath string `json:"titleAndMsgPath"`

	AlarmParamMap map[string]string `json:"alarmParamMap"`
	IconUrlPath   map[string]string `json:"iconUrlPath"`
}

type GitConfig

type GitConfig struct {
	Providers map[string]GitItemConfig `json:"providers"`
}

type GitItemConfig

type GitItemConfig struct {
	Host    string `json:"host"`
	Token   string `json:"token"`
	Enable  bool   `json:"enable"`
	ShaPath string `json:"shaPath"`
}

type InfluxDbConfig

type InfluxDbConfig struct {
	Org      string `json:"org"`
	Token    string `json:"token"`
	Endpoint string `json:"endpoint"`
}

type KafkaConfig

type KafkaConfig struct {
	Brokers     []string `json:"brokers"`
	MetricTopic string   `json:"metricTopic"`
	UserName    string   `json:"userName"`
	Password    string   `json:"password"`
}

type KookConfig

type KookConfig struct {
	EncryptedKey        string            `json:"encryptedKey"`
	Token               string            `json:"token"`
	VerifyToken         string            `json:"verifyToken"`
	RootNotifyChannelId string            `json:"rootNotifyChannelId"`
	RootUserId          string            `json:"rootUserId"`
	GroupChannel        map[string]string `json:"groupChannel"`
}

func (*KookConfig) GetGroupChannel

func (kc *KookConfig) GetGroupChannel(group string) string

type MysqlConfig

type MysqlConfig struct {
	Uri     string `json:"uri"`
	Debug   bool   `json:"debug" default:"false"`
	Verbose bool   `json:"verbose" default:"false"`
}

type R2Config

type R2Config struct {
	AccountId string `json:"accountId"`
	AccessKey string `json:"accessKey"`
	SecretKey string `json:"secretKey"`
}

type RedisConfig

type RedisConfig struct {
	Uri string `json:"uri"`
}

Jump to

Keyboard shortcuts

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