Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶ added in v0.4.0
type CFormat ¶ added in v0.4.0
type CFormat struct {
Attachment string
AttachmentBase64 string
AttachmentType string
Device string
HTML string
Message string
Priority string
TTL string
Timestamp string
Title string
URL string
URLTitle string
}
func (*CFormat) GetLocationAndPath ¶ added in v0.4.0
type Config ¶
type Config struct {
Debug bool
Testing bool
Redis struct {
Connection string
Connections []string
Username string
Password string
Cluster bool
Failover bool
MasterName string
Concurrency int
}
Server struct {
BindIP string
Port string
}
Users []struct {
Key string
Applications []Application
}
Targets []struct {
ID string
Type string
Args map[string]string
}
}
func (*Config) GetApplication ¶ added in v0.4.0
func (cfg *Config) GetApplication(userKey string, token string) (Application, error)
Click to show internal directories.
Click to hide internal directories.