Documentation ¶
Index ¶
- func RemoveUndefinedProperties(obj map[string]interface{})
- type Convert
- func ArrayBuffer(data []byte) *Convert
- func Base58Btc(data string) *Convert
- func Base64Url(data string) *Convert
- func BufferSource(data []byte) *Convert
- func Hex(data string) *Convert
- func Multibase(data string) *Convert
- func NewConvert(data interface{}, format string) *Convert
- func Object(data map[string]interface{}) *Convert
- func String(data string) *Convert
- func Uint8Array(data []byte) *Convert
- func (c *Convert) ToArrayBuffer() []byte
- func (c *Convert) ToBase58Btc() string
- func (c *Convert) ToBase64Url() string
- func (c *Convert) ToHex() string
- func (c *Convert) ToMultibase() string
- func (c *Convert) ToObject() map[string]interface{}
- func (c *Convert) ToString() string
- func (c *Convert) ToUint8Array() []byte
- type GenericMessage
- type GenericSignaturePayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveUndefinedProperties ¶
func RemoveUndefinedProperties(obj map[string]interface{})
Types ¶
type Convert ¶
type Convert struct {
// contains filtered or unexported fields
}
func ArrayBuffer ¶
func BufferSource ¶
func NewConvert ¶
func Uint8Array ¶
func (*Convert) ToArrayBuffer ¶
func (*Convert) ToBase58Btc ¶
func (*Convert) ToBase64Url ¶
func (*Convert) ToMultibase ¶
func (*Convert) ToUint8Array ¶
type GenericMessage ¶
type GenericMessage struct { Descriptor struct { Interface string `json:"interface"` Method string `json:"method"` MessageTimestamp string `json:"messageTimestamp"` } `json:"descriptor"` Authorization struct { Signer string `json:"signer"` Signature string `json:"signature"` } `json:"authorization"` }
Click to show internal directories.
Click to hide internal directories.