Documentation ¶
Index ¶
Constants ¶
View Source
const ( BaseUrl = "api://172.25.84.30:9752" LoginUrl = "%s/v1/login" AddBlacklistUrl = "%s/v3/blacklist/bulk" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddBlacklistBody ¶
type AddBlacklistReq ¶
type AddBlacklistReq struct {
Bulk []Blacklist `json:"bulk"`
}
type AddBlacklistResp ¶
type AddBlacklistResp struct {
Body AddBlacklistBody `json:"body"`
}
type AuthorisedUser ¶
type BlacklistApi ¶
type BlacklistApi struct {
// contains filtered or unexported fields
}
func (*BlacklistApi) AddToBlacklist ¶
func (a *BlacklistApi) AddToBlacklist(bl []Blacklist) error
Click to show internal directories.
Click to hide internal directories.