credit

package
v0.0.0-...-6654f9c Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balance

type Balance struct {
	CreditPacks        decimal.Big  `json:"creditPacks"`
	FreeCredits        *decimal.Big `json:"freeCredits"`
	FreeCreditsResetIn *string      `json:"freeCreditsResetIn"`
}

type Client

type Client struct {
	RestClient rest.Client
}

func (*Client) GetBalance

func (client *Client) GetBalance() (*Balance, error)

func (*Client) GetBalanceWithContext

func (client *Client) GetBalanceWithContext(ctx context.Context) (*Balance, error)

Jump to

Keyboard shortcuts

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