Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
SessionID string
}
func (*Broker) OnConnected ¶
func (b *Broker) OnConnected(callback func(initPop *BrokerInitPop))
type BrokerInitPop ¶
type BrokerNextPop ¶
type Uploader ¶
type Uploader struct {
// contains filtered or unexported fields
}
func NewUploader ¶
func NewUploader() *Uploader
type VisitorIP ¶
func ParseVisitorIP ¶
func (VisitorIP) GormDataType ¶
func (VisitorIP) RegionCode ¶
type VisitorPop ¶
type VisitorPop struct { IPAddress VisitorIP `json:"ip_address" gorm:"primaryKey"` RegionCode string `json:"region_code" gorm:"primaryKey"` Count int64 `json:"count" gorm:"not null"` }
func (*VisitorPop) FromString ¶
func (v *VisitorPop) FromString(dataString string) error
Click to show internal directories.
Click to hide internal directories.