Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCurrentUserInfo ¶
func NewCurrentUserInfo(user *identity2.User) *ginx.CurrentUserInfo
Types ¶
type JWTOptions ¶
type LoginInput ¶
type LoginInput struct { Address string `json:"address" binding:"required"` Sig string `json:"sig" binding:"required"` WalletType identity2.WalletType `json:"walletType"` Platform *identity2.LinkPlatformInput `json:"platform"` }
type LoginResult ¶
type LogoutResult ¶
type SignMessageInput ¶
type SingMessageOutput ¶
type SingMessageOutput struct {
Message string `json:"message"`
}
type VerifySignMessageInput ¶
Click to show internal directories.
Click to hide internal directories.