models

package
v0.0.0-...-9cc8e37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoompowResponse

type BoompowResponse struct {
	Data BoompowWorkGenerateResponse `json:"data" mapstructure:"data"`
}

type BoompowWorkGenerateRequest

type BoompowWorkGenerateRequest struct {
	Query     string                              `json:"query" mapstructure:"query"`
	Variables BoompowWorkGenerateRequestVariables `json:"variables" mapstructure:"variables"`
}

type BoompowWorkGenerateRequestVariables

type BoompowWorkGenerateRequestVariables struct {
	Hash                 string `json:"hash" mapstructure:"hash"`
	DifficultyMultiplier int    `json:"difficultyMultiplier" mapstructure:"difficultyMultiplier"`
	BlockAward           bool   `json:"blockAward" mapstructure:"blockAward"`
}

type BoompowWorkGenerateResponse

type BoompowWorkGenerateResponse struct {
	WorkGenerate string `json:"workGenerate" mapstructure:"workGenerate"`
}

type WorkBaseRequest

type WorkBaseRequest struct {
	Action string `json:"action" mapstructure:"action"`
	Hash   string `json:"hash" mapstructure:"hash"`
}

type WorkGenerateRequest

type WorkGenerateRequest struct {
	WorkBaseRequest
	Difficulty string `json:"difficulty" mapstructure:"difficulty"`
}

type WorkGenerateResponse

type WorkGenerateResponse struct {
	Work string `json:"work" mapstructure:"work"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL