Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApiUrl = "https://api.critsend.io/" ApiToken = "" )
Variables ¶
This section is empty.
Functions ¶
func CompareObject ¶
func GetObjectFromApi ¶
Types ¶
type AutoGenerated ¶
type AutoGenerated struct { Error []interface{} `json:"error"` Info []interface{} `json:"info"` Title string `json:"title"` History []struct { Code string `json:"code"` Info string `json:"info"` } `json:"history"` Description string `json:"description"` Parameters map[string]interface{} `json:"parameters"` }
type Ip ¶
type Ip struct { Id int `json:"ip_id,omitempty"` Value string `json:"ip_value"` Reverse string `json:"ip_reverse,omitempty"` Create string `json:"ip_create,omitempty"` Update string `json:"ip_update,omitempty"` Server int `json:"server_id,omitempty"` Removable bool `json:"is_removable"` User int `json:"user_id,omitempty"` City int `json:"city_id,omitempty"` Lat string `json:"ip_lat,omitempty"` Long string `json:"ip_long,omitempty"` Company int `json:"company_id,omitempty"` Status int `json:"ip_status_id,omitempty"` }
func NewIpById ¶
NewIpById Constructor to build object by ID, if fromApi = true, try to load from API
func NewIpByValue ¶
NewIpByValue Constructor to build object by Value, if fromApi = true, try to load from API
type ObjectField ¶
Click to show internal directories.
Click to hide internal directories.