Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthNone ¶
type AuthNone struct{}
func NewAuthNone ¶
func NewAuthNone() *AuthNone
func (*AuthNone) Authenticate ¶
func (a *AuthNone) Authenticate(f *frame.HandshakeFrame) bool
type Authentication ¶
type Authentication interface { Type() AuthType Authenticate(f *frame.HandshakeFrame) bool }
Authentication for server
type Credential ¶
Credential for client
type CredentialNone ¶
type CredentialNone struct{}
func NewCredendialNone ¶
func NewCredendialNone() *CredentialNone
func (*CredentialNone) AppID ¶
func (c *CredentialNone) AppID() string
func (*CredentialNone) Payload ¶
func (c *CredentialNone) Payload() []byte
func (*CredentialNone) Type ¶
func (c *CredentialNone) Type() AuthType
Click to show internal directories.
Click to hide internal directories.