Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommandPing = 100 + iota CommandPong )
服务端处理ping消息
Variables ¶
This section is empty.
Functions ¶
func RunServerStart ¶
func RunServerStart(ctx context.Context, opts *ServerStartOptions, version string) error
Types ¶
type ServerOptions ¶
type ServerOptions struct {
// contains filtered or unexported fields
}
ServerOptions ServerOptions
type ServerStartOptions ¶
type ServerStartOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.