Documentation ¶
Index ¶
- func BinToStr(data string) (str string, err error)
- func FormatMacAddress(str string) string
- func MapToStruct(data map[string]interface{}, typ Params) error
- func NewPasswordAuthData(username, password string) []byte
- func Sha0Sum(p []byte) []byte
- func StructToMap(params Params) (map[string]interface{}, error)
- func ValidateType(typ string, val interface{}) bool
- type Base
- type Id
- type Method
- type Params
- type Response
- type SHA0
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMacAddress ¶
func MapToStruct ¶
params typ must be empty.
func NewPasswordAuthData ¶
func StructToMap ¶
func ValidateType ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.