Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerAddSession ¶
func HandlerAddSession(ctx *context.Context) gin.HandlerFunc
Types ¶
type RequestAddSession ¶
type RequestAddSession struct { AccAddress sdk.AccAddress Key []byte Signature []byte URI struct { AccAddress string `uri:"acc_address"` ID uint64 `uri:"id" binding:"gt=0"` } Body struct { Key string `json:"key"` Signature string `json:"signature"` } }
func NewRequestAddSession ¶
func NewRequestAddSession(c *gin.Context) (req *RequestAddSession, err error)
Click to show internal directories.
Click to hide internal directories.