package
0.0.0-20221218120333-a376c7093645
Repository: https://github.com/satornetwork/sator-api.git
Documentation: pkg.go.dev
# README
MVP of the Unity game
# Packages
No description provided by the author
# Functions
No description provided by the author
MakeAddNFTPackEndpoint returns an endpoint that invokes AddNFTPack on the service.
MakeAddSettingEndpoint ...
MakeBuyNFTPackEndpoint ...
MakeClaimRewardsEndpoint ...
MakeCraftNFTEndpoint ...
MakeDeleteNFTPackEndpoint returns an endpoint that invokes DeleteNFTPack on the service.
MakeDeleteSettingEndpoint ...
No description provided by the author
MakeFinishGameEndpoint ...
MakeGetNFTPackEndpoint returns an endpoint that invokes GetNFTPack on the service.
MakeGetNFTPacksEndpoint ...
MakeGetNFTPacksListEndpoint returns an endpoint that invokes GetNFTPacksList on the service.
MakeGetSettingsByKeyEndpoint ...
MakeGetSettingsEndpoint ...
MakeGetSettingsValueTypesEndpoint ...
MakeGetStatusEndpoint ...
MakeHTTPHandler ...
MakeNFTPacksEndpoints returns all of the endpoints for the NFTPacks service.
MakePayForElectricityEndpoint ...
No description provided by the author
MakeSelectNFTEndpoint ...
MakeSoftDeleteNFTPackEndpoint returns an endpoint that invokes SoftDeleteNFTPack on the service.
MakeStartGameEndpoint ...
MakeUpdateNFTPackEndpoint returns an endpoint that invokes UpdateNFTPack on the service.
MakeUpdateSettingEndpoint ...
NewNFTPackService creates a new nft pack service.
NewService is a factory function, returns a new instance of the Service interface implementation.
NewSettingsService creates a new settings service.
NewSolanaClient ...
SignResponse function is used to sign a response using the given signing key.
SignStruct function is used to sign a struct using the given signing key.
ValidateSignature function is used to validate a signature using the given signing key.
ValidateStringSignature function is used to validate a signature using the given signing key.
WithDB sets the database connection.
# Constants
Predefined game levels.
Predefined game levels.
Predefined game levels.
No description provided by the author
No description provided by the author
Predefined NFT types common, rare, super rare, epic, legend.
Predefined NFT types common, rare, super rare, epic, legend.
Predefined NFT types common, rare, super rare, epic, legend.
Predefined NFT types common, rare, super rare, epic, legend.
Predefined NFT types common, rare, super rare, epic, legend.
Predefined NFT types common, rare, super rare, epic, legend.
# Variables
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
Predefined package errors.
# Structs
AddGameSettingsRequest ...
AddNFTPackRequest collects the request parameters for the AddNFTPack method.
No description provided by the author
No description provided by the author
ClaimRewardsRequest ...
No description provided by the author
No description provided by the author
DropChances ...
No description provided by the author
No description provided by the author
No description provided by the author
GameConfig struct.
No description provided by the author
NFTInfo ...
NFTPackInfo ...
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpdateGameSettingRequest ...
UpdateNFTPackRequest collects the request parameters for the UpdateNFTPack method.