Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveFromMap ¶
func RemoveFromMap(ID int)
RemoveFromMap will remove all of the queries with the specified id from the map. the ID should be message id.
Types ¶
type QueryBase ¶
type QueryBase struct { Plugin int `json:"p"` // the plugin Data int `json:"d"` // the data (unique data code) UniqueId string `json:"u"` // the unique id of source message }
func ToQueryBase ¶
func (*QueryBase) GetDataQuery ¶
func (*QueryBase) GetType ¶
func (q *QueryBase) GetType() QueryPlugin
type QueryPlugin ¶
type QueryPlugin uint8
const ( NoneQueryPlugin QueryPlugin = 0 // None UdQueryPlugin QueryPlugin = 1 // wotoUD plugin )
Click to show internal directories.
Click to hide internal directories.