Documentation
¶
Index ¶
Constants ¶
View Source
const USER_AGENT = "cifsdk-go/" + VERSION
View Source
const VERSION = "0.0a3"
VERSION
Variables ¶
This section is empty.
Functions ¶
func ToCsv ¶
func ToCsv(indicators IndicatorList, ow io.Writer)
Types ¶
type Client ¶
func (*Client) CreateIndicators ¶
func (c *Client) CreateIndicators(i IndicatorList) error
func (*Client) GetIndicators ¶
func (c *Client) GetIndicators(itype string, limit string) (IndicatorList, error)
type Indicator ¶
type Indicator struct {
Id int `json:"id"`
Indicator string `json:"indicator"`
Itype string `json:"itype"`
Portlist string `json:"portlist"`
Firsttime string `json:"firsttime"`
Lasttime string `json:"lasttime"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Description string `json:"description"`
Count int `json:"count"`
Asn float32 `json:"asn"`
Asn_desc string `json:"asn_desc"`
Cc string `json:"cc"`
Provider string `json:"provider"`
Tags []string `json:"tags"`
Content string `json:"content"`
}
type IndicatorList ¶
type IndicatorList []Indicator
Click to show internal directories.
Click to hide internal directories.