Documentation ¶
Index ¶
Constants ¶
View Source
const CommandNameClient = "client"
Variables ¶
This section is empty.
Functions ¶
func AddPluginVersion ¶ added in v0.3.0
func AddPluginVersion(verPlugin VersionPlugin)
Types ¶
type Plugin ¶
type Plugin struct { RedirectPlugin ServerRedirect VersionPlugin VersionPlugin }
func (*Plugin) HasRedirectPlugin ¶ added in v0.3.0
check whether the redirect plugin has been added. this plugin can only be at most one instance.
func (*Plugin) HasVersionPlugin ¶ added in v0.3.0
type ServerRedirect ¶
type VersionPlugin ¶ added in v0.3.0
type VersionPlugin interface {
OnServerVersion(ver wss.VersionNeg) error
}
Click to show internal directories.
Click to hide internal directories.