Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDNSName ¶
IsDNSName is a modified version of function IsDNSName from https://github.com/asaskevich/govalidator/blob/master/patterns.go
Types ¶
type Client ¶
type Client struct {
Bot *tgbotapi.BotAPI
Cortex *gocortex.Client
Password string
DB *bolt.DB
UsersBucket string
TLP int
}
Client defines bot's abilities to interact with services
func (*Client) Auth ¶
func (c *Client) Auth(input *tgbotapi.Message)
Auth handles simple password authentication of a user
func (*Client) ProcessCortex ¶
ProcessCortex asks Cortex about data submitted by a user
Notes ¶
Bugs ¶
not supported hashes are hashes shorter 32 letters and ssdeep
Click to show internal directories.
Click to hide internal directories.