Documentation ¶
Index ¶
Constants ¶
View Source
const RETRYTIMES = 5
Variables ¶
View Source
var ( ErrChallengeHeadError = errors.New("challenge receive head is not correct") ErrMACAddrError = errors.New("invalid mac address") ErrIdentifyError = errors.New("invalid username or password") ErrUnknown = errors.New("login failed: unknown error") )
View Source
var (
ErrMACAddrLenError = errors.New("length of mac address is not correct")
)
Functions ¶
func MACHex2Bytes ¶
MACHex2Bytes convert mac address to bytes, the input mac format should be 2a:1b:4c:fe:a9:e9.
Types ¶
type LoggerInterface ¶
Click to show internal directories.
Click to hide internal directories.