Documentation ¶
Index ¶
- func MakeBoompowWorkGenerateRequest(ctx context.Context, url string, bpowKey string, hash string, ...) (string, error)
- func MakeRequest(ctx context.Context, url string, request interface{}, authorization string) ([]byte, error)
- func MakeWorkCancelRequest(ctx context.Context, url string, hash string) error
- func MakeWorkGenerateRequest(ctx context.Context, url string, hash string, difficulty string) (*models.WorkGenerateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeRequest ¶
func MakeRequest(ctx context.Context, url string, request interface{}, authorization string) ([]byte, error)
Base request
func MakeWorkCancelRequest ¶
We don't care about the response for work cancel
func MakeWorkGenerateRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.