Documentation
¶
Index ¶
- type AssetsUrl
- type AuthorOptionsEmbedsDiscord
- type BurstDetectionOptions
- type Config
- type FieldEmbedsDiscord
- type FooterEmbedsDiscord
- type GenerateLogsOptions
- type ImageEmbedsDiscord
- type OptionsBlockSlack
- type OptionsElementsBlockSlack
- type OptionsEmbedsDiscord
- type OptionsTextMrkSlack
- type ResponseGithubApi
- type ShipperConfig
- type ThumbnailEmbedsDiscord
- type WebhookDiscord
- type WebhookSlack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BurstDetectionOptions ¶
type BurstDetectionOptions struct {
LimitBreak float64 `json:"limitBreak"`
}
type Config ¶
type Config struct {
Port int `json:"port"`
IdLog string `json:"idLog"`
PatternsWords []string `json:"pattenersWords"`
GenerateLogsOptions GenerateLogsOptions `json:"generateLogsOptions"`
WebHookUrls []string `json:"webhookUrls"`
BurstDetectionOptions BurstDetectionOptions `json:"bursDetectionOptions"`
ShipperConfig ShipperConfig `json:"shipper"`
ReportInterval float64 `json:"reportInterval"`
BufferUdpSize int `json:"bufferUdpSize"`
}
type FieldEmbedsDiscord ¶
type FooterEmbedsDiscord ¶
type FooterEmbedsDiscord struct {
}
type GenerateLogsOptions ¶
type ImageEmbedsDiscord ¶
type ImageEmbedsDiscord struct {
Url string `json:"url"`
}
type OptionsBlockSlack ¶
type OptionsBlockSlack struct {
Type string `json:"type"`
Text *OptionsTextMrkSlack `json:"text,omitempty"`
Elements []OptionsElementsBlockSlack `json:"elements,omitempty"`
}
type OptionsEmbedsDiscord ¶
type OptionsEmbedsDiscord struct {
Title string `json:"title"`
Description string `json:"description"`
Url string `json:"url"`
Color int `json:"color"`
Fields []FieldEmbedsDiscord `json:"fields"`
Author AuthorOptionsEmbedsDiscord `json:"author"`
Timestamp time.Time `json:"timestamp"`
Image ImageEmbedsDiscord `json:"image"`
Thumbnail ThumbnailEmbedsDiscord `json:"thumbnail"`
}
type OptionsTextMrkSlack ¶
type ResponseGithubApi ¶
type ShipperConfig ¶
type ThumbnailEmbedsDiscord ¶
type ThumbnailEmbedsDiscord struct {
Url string `json:"url"`
}
type WebhookDiscord ¶
type WebhookDiscord struct {
Content string `json:"content"`
Embeds []OptionsEmbedsDiscord `json:"embeds"`
}
type WebhookSlack ¶
type WebhookSlack struct {
Text string `json:"text"`
Blocks []OptionsBlockSlack `json:"blocks"`
}
Click to show internal directories.
Click to hide internal directories.