Documentation ¶
Index ¶
- Variables
- func HexToBigInt(s string) (*big.Int, bool)
- type AuthenticateReq
- type AuthenticateRes
- type AuthenticationController
- type AuthorizationController
- type Controller
- type Controls
- func (ctl *Controls) CreateRole(c echo.Context) error
- func (ctl *Controls) CreateUserRole(c echo.Context) error
- func (ctl *Controls) DeleteUserRole(c echo.Context) error
- func (ctl *Controls) GetCollection(c echo.Context) error
- func (ctl *Controls) GetCollectionWithCategory(c echo.Context) error
- func (ctl *Controls) GetEvent(c echo.Context) error
- func (ctl *Controls) GetMarketplaceSettings(c echo.Context) error
- func (ctl *Controls) GetNFTsWithListings(c echo.Context) error
- func (ctl *Controls) GetNotification(c echo.Context) error
- func (ctl *Controls) GetOffer(c echo.Context) error
- func (ctl *Controls) GetOrder(c echo.Context) error
- func (ctl *Controls) GetProfile(c echo.Context) error
- func (ctl *Controls) GetRoles(c echo.Context) error
- func (ctl *Controls) GetRolesByUser(c echo.Context) error
- func (ctl *Controls) GetUser(c echo.Context) error
- func (ctl *Controls) GetUserNonce(c echo.Context) error
- func (ctl *Controls) GetUsers(c echo.Context) error
- func (ctl *Controls) Login(c echo.Context) error
- func (ctl *Controls) PostCollection(c echo.Context) error
- func (ctl *Controls) PostOrder(c echo.Context) error
- func (ctl *Controls) PostProfile(c echo.Context) error
- func (ctl *Controls) SearchNFTs(c echo.Context) error
- func (ctl *Controls) SetUserRole(c echo.Context) error
- func (ctl *Controls) Test(c echo.Context) error
- func (ctl *Controls) UpdateBlockState(c echo.Context) error
- func (ctl *Controls) UpdateMarketplaceSettings(c echo.Context) error
- func (ctl *Controls) UpdateNftStatus(c echo.Context) error
- func (ctl *Controls) UpdateNotification(c echo.Context) error
- type CreateUserRoleReq
- type CreateUserRoleRes
- type DeleteUserRoleReq
- type DeleteUserRoleRes
- type GetMarketplaceSettingsReq
- type GetMarketplaceSettingsResp
- type GetOffer
- type GetOfferRes
- type GetProfileReq
- type GetProfileResp
- type GetUserNonceReq
- type GetUserNonceRes
- type GetUserReq
- type GetUserRes
- type GetUsersReq
- type GetUsersRes
- type MarketplaceSettingsController
- type OfferRes
- type PostProfileReq
- type PostProfileResp
- type ProfileController
- type RoleController
- type SearchController
- type UpdateBlockStateReq
- type UpdateBlockStateRes
- type UpdateMarketplaceSettingsReq
- type UpdateMarketplaceSettingsRes
- type UserController
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrParseBigInt error = errors.New("parse error")
Functions ¶
Types ¶
type AuthenticateReq ¶
type AuthenticateRes ¶
type AuthorizationController ¶
type AuthorizationController interface { }
type Controller ¶
type Controller interface { PostOrder(c echo.Context) error GetOrder(c echo.Context) error PostCollection(c echo.Context) error GetCollection(c echo.Context) error GetCollectionWithCategory(c echo.Context) error UpdateNftStatus(c echo.Context) error GetNFTsWithListings(c echo.Context) error ProfileController SearchController MarketplaceSettingsController AuthenticationController AuthorizationController UserController RoleController GetEvent(c echo.Context) error GetNotification(c echo.Context) error UpdateNotification(c echo.Context) error }
type Controls ¶
type Controls struct {
// contains filtered or unexported fields
}
func (*Controls) CreateRole ¶
func (*Controls) CreateUserRole ¶
func (*Controls) DeleteUserRole ¶
func (*Controls) GetCollection ¶
func (*Controls) GetCollectionWithCategory ¶
func (*Controls) GetMarketplaceSettings ¶
func (*Controls) GetNFTsWithListings ¶
func (*Controls) GetNotification ¶
func (*Controls) GetProfile ¶
func (*Controls) GetRolesByUser ¶
func (*Controls) GetUserNonce ¶
func (*Controls) PostCollection ¶
func (*Controls) PostProfile ¶
func (*Controls) SearchNFTs ¶
func (*Controls) SetUserRole ¶
func (*Controls) UpdateBlockState ¶
func (*Controls) UpdateMarketplaceSettings ¶
func (*Controls) UpdateNftStatus ¶
func (*Controls) UpdateNotification ¶
type CreateUserRoleReq ¶
type CreateUserRoleRes ¶
type DeleteUserRoleReq ¶
type DeleteUserRoleRes ¶
type GetMarketplaceSettingsReq ¶
type GetMarketplaceSettingsReq struct {
Marketplace string `query:"marketplace" validate:"eth_addr"`
}
type GetOfferRes ¶
type GetOfferRes struct {
OfferList []OfferRes `json:"offer_list"`
}
type GetProfileReq ¶
type GetProfileReq struct {
Address string `param:"address" validation:"eth_addr"`
}
type GetProfileResp ¶
type GetUserNonceReq ¶
type GetUserNonceReq struct {
Address string `param:"address" validate:"required,eth_addr"`
}
type GetUserNonceRes ¶
type GetUserReq ¶
type GetUserReq struct {
Address string `param:"address" validate:"required,eth_addr"`
}
type GetUserRes ¶
type GetUsersReq ¶
type GetUsersRes ¶
type OfferRes ¶
type OfferRes struct { Name string `json:"name"` Token string `json:"token"` TokenId string `json:"token_id"` Quantity int `json:"quantity,omitempty"` Type string `json:"type"` Price string `json:"price,omitempty"` From string `json:"from"` To string `json:"to,omitempty"` Link string `json:"link,omitempty"` OrderHash string `json:"order_hash,omitempty"` NftImage string `json:"nft_image"` NftName string `json:"nft_name"` EndTime string `json:"end_time,omitempty"` IsCancelled bool `json:"is_cancelled"` IsFulfilled bool `json:"is_fulfilled"` IsExpired bool `json:"is_expired"` Owner string `json:"owner,omitempty"` }
type PostProfileReq ¶
type PostProfileResp ¶
type ProfileController ¶
type RoleController ¶
type RoleController interface {
GetRoles(c echo.Context) error
}
type SearchController ¶
type SearchController interface {
SearchNFTs(c echo.Context) error
}
type UpdateBlockStateReq ¶
type UpdateBlockStateRes ¶
type UpdateBlockStateRes struct {
IsSuccess bool `json:"is_success"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.