Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
func NewMixedAuthenticator ¶
func NewMixedAuthenticator() (Authenticator, error)
type ConfigUserAuthenticator ¶
type ConfigUserAuthenticator struct {
Authenticator
}
func (*ConfigUserAuthenticator) CheckHash ¶
func (a *ConfigUserAuthenticator) CheckHash(hash string) bool
func (*ConfigUserAuthenticator) Close ¶
func (a *ConfigUserAuthenticator) Close() error
type MemoryTrafficMeter ¶
type MemoryTrafficMeter struct { TrafficMeter // contains filtered or unexported fields }
func (*MemoryTrafficMeter) Count ¶
func (m *MemoryTrafficMeter) Count(sent, recv uint64)
func (*MemoryTrafficMeter) Query ¶
func (m *MemoryTrafficMeter) Query() (uint64, uint64)
type MixedAuthenticator ¶
type MixedAuthenticator struct { Authenticator // contains filtered or unexported fields }
func (*MixedAuthenticator) CheckHash ¶
func (a *MixedAuthenticator) CheckHash(hash string) bool
func (*MixedAuthenticator) Close ¶
func (a *MixedAuthenticator) Close() error
Click to show internal directories.
Click to hide internal directories.