Documentation ¶ Index ¶ Constants type IP func (ip *IP) Get(index int64) (*IP, error) func (ip *IP) Insert() (int64, error) func (ip *IP) Update() (int64, error) Constants ¶ View Source const ( IpProxy = "ip:proxy" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type IP ¶ type IP struct { ID int64 `bson:"id"` Address string `bson:"address"` Port int32 `bson:"port"` ProtocolType string `bson:"protocol_type"` Delay float32 `bson:"delay"` } func (*IP) Get ¶ func (ip *IP) Get(index int64) (*IP, error) func (*IP) Insert ¶ func (ip *IP) Insert() (int64, error) func (*IP) Update ¶ func (ip *IP) Update() (int64, error) Source Files ¶ View all Source files ip.go Click to show internal directories. Click to hide internal directories.