Documentation ¶
Index ¶
Constants ¶
View Source
const (
ESIEndpoint = "esi.tech.ccp.is"
)
Variables ¶
View Source
var DefaultMaxSimilarity float64 = 0.75
Functions ¶
func StrSliceContainsStr ¶
StrSliceContainsStr returns a boolean if s is found in slice
Types ¶
type IRCMessage ¶
type IRCMessage struct { Message string `json:"message"` From string `json:"nick"` RecvAt float64 `json:"now"` }
IRCMessage defines the ZMQ payload from ZNC
type NCPing ¶
type NCPing struct { // From indicates who sent the ping From string // ToGroup indicates where the ping was sent to ToGroup string // Ping indicates the contents of the ping Ping string }
NCPing defines a NC. ping
func ParseNCMessage ¶
ParseNCMessage validates and parses an NC. ping based on the PL services code
type OnPingMessage ¶
Click to show internal directories.
Click to hide internal directories.