Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FxModule = fx.Module("controllers", fx.Provide( NewProfileController, NewLoginController, NewSearchController, ), )
Functions ¶
This section is empty.
Types ¶
type LoginByWalletAddressReq ¶
type LoginByWalletAddressRes ¶
type LoginByWalletAddressRes struct {
Token string `json:"token"`
}
type LoginController ¶
type LoginController struct {
// contains filtered or unexported fields
}
func NewLoginController ¶
func NewLoginController(rc *redis.Client, ec *ethclient.EthClient, pr *repositories.ProfileRepository) *LoginController
func (*LoginController) LoginByWallet ¶
func (c *LoginController) LoginByWallet( ectx echo.Context, ) error
func (*LoginController) SignupCompleted ¶
func (lc *LoginController) SignupCompleted(ctx echo.Context) error
type ProfileController ¶
type ProfileController struct {
// contains filtered or unexported fields
}
func NewProfileController ¶
func NewProfileController(pr *repositories.ProfileRepository) *ProfileController
func (*ProfileController) GetProfileChainInfo ¶
func (pc *ProfileController) GetProfileChainInfo(ctx echo.Context) error
func (*ProfileController) GetProfileConnections ¶
func (pc *ProfileController) GetProfileConnections(ctx echo.Context) error
type SearchController ¶
type SearchController struct {
// contains filtered or unexported fields
}
func NewSearchController ¶
func NewSearchController(pr *repositories.ProfileRepository) *SearchController
Click to show internal directories.
Click to hide internal directories.