Documentation ¶
Index ¶
- func ClaimMainQuestDevnet(w http.ResponseWriter, r *http.Request)
- func ClaimTodayQuestDevnet(w http.ResponseWriter, r *http.Request)
- func GetAllColors(w http.ResponseWriter, r *http.Request)
- func GetCompletedDailyQuests(w http.ResponseWriter, r *http.Request)
- func GetCompletedMainQuests(w http.ResponseWriter, r *http.Request)
- func GetDailyQuestProgress(w http.ResponseWriter, r *http.Request)
- func GetDailyQuests(w http.ResponseWriter, r *http.Request)
- func GetMainQuestProgress(w http.ResponseWriter, r *http.Request)
- func GetMainQuests(w http.ResponseWriter, r *http.Request)
- func GetMainUserQuests(w http.ResponseWriter, r *http.Request)
- func GetSingleColor(w http.ResponseWriter, r *http.Request)
- func GetTodayQuestProgress(w http.ResponseWriter, r *http.Request)
- func GetTodayStartTime(w http.ResponseWriter, r *http.Request)
- func GetUserQuestStatus(w http.ResponseWriter, r *http.Request)
- func GetVotableColorsWithVoteCount(w http.ResponseWriter, r *http.Request)
- func IncreaseDayDevnet(w http.ResponseWriter, r *http.Request)
- func InitBaseRoutes()
- func InitCanvasRoutes()
- func InitColors(w http.ResponseWriter, r *http.Request)
- func InitColorsRoutes()
- func InitContractRoutes()
- func InitFactionRoutes()
- func InitNFTRoutes()
- func InitNFTStaticRoutes()
- func InitPixelRoutes()
- func InitQuests(w http.ResponseWriter, r *http.Request)
- func InitQuestsRoutes()
- func InitRoutes()
- func InitStencilsRoutes()
- func InitStencilsStaticRoutes()
- func InitTemplateRoutes()
- func InitUserRoutes()
- func InitVotableColors(w http.ResponseWriter, r *http.Request)
- func InitVotableColorsRoutes()
- func InitWebsocketRoutes()
- func InitWorldsRoutes()
- func InitWorldsStaticRoutes()
- type ClaimParamConfig
- type ClaimParams
- type ColorType
- type DailyQuest
- type DailyQuestConfig
- type DailyUserQuest
- type ExtraPixelJson
- type FactionData
- type FactionMemberData
- type FactionTemplateData
- type FactionUserData
- type FactionsConfig
- type FactionsConfigItem
- type GameData
- type MainQuest
- type MainUserQuest
- type MembershipPixelsData
- type NFTData
- type NFTLikesRequest
- type PixelInfo
- type QuestConfig
- type QuestContractConfig
- type QuestProgress
- type QuestStatus
- type QuestTypes
- type QuestsConfig
- type StencilData
- type TemplateData
- type UserRewardsData
- type VotableColor
- type WorldData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClaimMainQuestDevnet ¶
func ClaimMainQuestDevnet(w http.ResponseWriter, r *http.Request)
func ClaimTodayQuestDevnet ¶
func ClaimTodayQuestDevnet(w http.ResponseWriter, r *http.Request)
func GetAllColors ¶
func GetAllColors(w http.ResponseWriter, r *http.Request)
func GetCompletedDailyQuests ¶
func GetCompletedDailyQuests(w http.ResponseWriter, r *http.Request)
func GetCompletedMainQuests ¶
func GetCompletedMainQuests(w http.ResponseWriter, r *http.Request)
func GetDailyQuestProgress ¶
func GetDailyQuestProgress(w http.ResponseWriter, r *http.Request)
func GetDailyQuests ¶
func GetDailyQuests(w http.ResponseWriter, r *http.Request)
func GetMainQuestProgress ¶
func GetMainQuestProgress(w http.ResponseWriter, r *http.Request)
func GetMainQuests ¶
func GetMainQuests(w http.ResponseWriter, r *http.Request)
func GetMainUserQuests ¶
func GetMainUserQuests(w http.ResponseWriter, r *http.Request)
func GetSingleColor ¶
func GetSingleColor(w http.ResponseWriter, r *http.Request)
func GetTodayQuestProgress ¶
func GetTodayQuestProgress(w http.ResponseWriter, r *http.Request)
func GetTodayStartTime ¶
func GetTodayStartTime(w http.ResponseWriter, r *http.Request)
func GetUserQuestStatus ¶
func GetUserQuestStatus(w http.ResponseWriter, r *http.Request)
func GetVotableColorsWithVoteCount ¶
func GetVotableColorsWithVoteCount(w http.ResponseWriter, r *http.Request)
func IncreaseDayDevnet ¶
func IncreaseDayDevnet(w http.ResponseWriter, r *http.Request)
func InitBaseRoutes ¶
func InitBaseRoutes()
func InitCanvasRoutes ¶
func InitCanvasRoutes()
func InitColors ¶
func InitColors(w http.ResponseWriter, r *http.Request)
func InitColorsRoutes ¶
func InitColorsRoutes()
func InitContractRoutes ¶
func InitContractRoutes()
func InitFactionRoutes ¶
func InitFactionRoutes()
func InitNFTRoutes ¶
func InitNFTRoutes()
func InitNFTStaticRoutes ¶
func InitNFTStaticRoutes()
func InitPixelRoutes ¶
func InitPixelRoutes()
func InitQuests ¶
func InitQuests(w http.ResponseWriter, r *http.Request)
func InitQuestsRoutes ¶
func InitQuestsRoutes()
func InitRoutes ¶
func InitRoutes()
func InitStencilsRoutes ¶
func InitStencilsRoutes()
func InitStencilsStaticRoutes ¶
func InitStencilsStaticRoutes()
func InitTemplateRoutes ¶
func InitTemplateRoutes()
func InitUserRoutes ¶
func InitUserRoutes()
func InitVotableColors ¶
func InitVotableColors(w http.ResponseWriter, r *http.Request)
func InitVotableColorsRoutes ¶
func InitVotableColorsRoutes()
func InitWebsocketRoutes ¶
func InitWebsocketRoutes()
func InitWorldsStaticRoutes ¶
func InitWorldsStaticRoutes()
Types ¶
type ClaimParamConfig ¶
type ClaimParams ¶
type DailyQuest ¶
type DailyQuestConfig ¶
type DailyQuestConfig struct { Day int `json:"day"` Quests []QuestConfig `json:"quests"` }
type DailyUserQuest ¶
type ExtraPixelJson ¶
type FactionData ¶
type FactionData struct { FactionId int `json:"factionId"` Name string `json:"name"` Leader string `json:"leader"` Members int `json:"members"` IsMember bool `json:"isMember"` Joinable bool `json:"joinable"` Icon string `json:"icon"` Telegram string `json:"telegram"` Twitter string `json:"twitter"` Github string `json:"github"` Site string `json:"site"` }
type FactionMemberData ¶
type FactionTemplateData ¶
type FactionUserData ¶
type FactionUserData struct { FactionId int `json:"factionId"` Allocation int `json:"allocation"` Name string `json:"name"` Leader string `json:"leader"` Members int `json:"members"` Joinable bool `json:"joinable"` Icon string `json:"icon"` Telegram string `json:"telegram"` Twitter string `json:"twitter"` Github string `json:"github"` Site string `json:"site"` }
type FactionsConfig ¶
type FactionsConfig struct { Factions []FactionsConfigItem `json:"factions"` ChainFactions []string `json:"chain_factions"` }
type FactionsConfigItem ¶
type FactionsConfigItem struct { Id int `json:"id"` Name string `json:"name"` Icon string `json:"icon"` Leader string `json:"leader"` Pool int `json:"pool"` PerMember bool `json:"per_member"` Joinable bool `json:"joinable"` Links struct { Telegram string `json:"telegram"` Twitter string `json:"twitter"` Github string `json:"github"` Site string `json:"site"` } `json:"links"` Members []string `json:"members"` }
type MainQuest ¶
type MainQuest struct { QuestId int `json:"questId"` Name string `json:"name"` Description string `json:"description"` Reward int `json:"reward"` ClaimParams []ClaimParams `json:"claimParams"` }
type MainUserQuest ¶
type MembershipPixelsData ¶
type NFTData ¶
type NFTData struct { TokenID int `json:"tokenId"` Position int `json:"position"` Width int `json:"width"` Height int `json:"height"` Name string `json:"name"` ImageHash string `json:"imageHash"` BlockNumber int `json:"blockNumber"` DayIndex int `json:"dayIndex"` Minter string `json:"minter"` Owner string `json:"owner"` Likes int `json:"likes"` Liked bool `json:"liked"` }
type NFTLikesRequest ¶
type QuestConfig ¶
type QuestConfig struct { Name string `json:"name"` Description string `json:"description"` Reward int `json:"reward"` ContractConfig QuestContractConfig `json:"questContract"` }
type QuestContractConfig ¶
type QuestContractConfig struct { Type string `json:"type"` InitParams []string `json:"initParams"` StoreParams []int `json:"storeParams"` ClaimParams []ClaimParamConfig `json:"claimParams"` }
type QuestProgress ¶
type QuestStatus ¶
type QuestTypes ¶
type QuestsConfig ¶
type QuestsConfig struct { DailyQuests struct { DailyQuestsCount int `json:"dailyQuestsCount"` Quests []DailyQuestConfig `json:"dailyQuests"` } `json:"daily"` MainQuests struct { Quests []QuestConfig `json:"mainQuests"` } `json:"main"` }
type StencilData ¶
type TemplateData ¶
type UserRewardsData ¶
type VotableColor ¶
type WorldData ¶
type WorldData struct { WorldId int `json:"worldId"` Host string `json:"host"` Name string `json:"name"` Width int `json:"width"` Height int `json:"height"` TimeBetweenPixels int `json:"timeBetweenPixels"` StartTime *time.Time `json:"startTime"` EndTime *time.Time `json:"endTime"` Favorites int `json:"favorites"` Favorited bool `json:"favorited"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.