Documentation ¶
Index ¶
Constants ¶
View Source
const ( SUB_INDEX = 1 SID_INDEX = 2 REPLY_INDEX = 4 LEN_INDEX = 5 MSG_INDEX = 6 )
View Source
const CONNECT_F = "CONNECT {\"verbose\":false,\"user\":\"%s\",\"pass\":\"%s\",\"name\":\"%s\"}\r\n"
Variables ¶
View Source
var DefaultTestOptions = server.Options{ Host: "localhost", Port: 4222, NoLog: true, NoSigs: true, }
Functions ¶
func RunDefaultServer ¶ added in v0.6.2
func RunServerWithAuth ¶ added in v0.6.0
New Go Routine based server with auth
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.