Documentation
¶
Index ¶
- func CreateResponse(c echo.Context) error
- func CreateSignature(reqMsg string, accessorPrivk []byte) ([]byte, error)
- func RequestUserAccept(c echo.Context) error
- func ResponseUserAccept(c echo.Context) error
- func TestVerifySignature(signMsg []byte, reqMsg string) error
- type Reponse
- type Request
- type Response
- type ResponseDeliver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateResponse ¶
func RequestUserAccept ¶
func ResponseUserAccept ¶
func TestVerifySignature ¶
Types ¶
type ResponseDeliver ¶
type ResponseDeliver struct {
Result struct {
Height int `json:"height"`
CheckTx struct {
Fee struct{} `json:"fee"`
} `json:"check_tx"`
DeliverTx struct {
Log string `json:"log"`
Fee struct{} `json:"fee"`
} `json:"deliver_tx"`
Hash string `json:"hash"`
} `json:"result"`
Jsonrpc string `json:"jsonrpc"`
ID string `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.