aiven

package
v0.0.0-...-58321ae Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AivenInvoice

type AivenInvoice struct {
	Currency       string `json:"currency"`
	Invoice_number string `json:"invoice_number"`
	State          string `json:"state"`
	Cost           string `json:"total_vat_zero"`
}

type AivenInvoiceResponse

type AivenInvoiceResponse struct {
	Invoices []AivenInvoice `json:"invoices"`
}

type Client

type Client struct {
	BaseURL *url.URL
	Project string
	Token   string
	// contains filtered or unexported fields
}

func NewClient

func NewClient(project string, token string) (*Client, error)

func (*Client) GetInvoices

func (c *Client) GetInvoices() ([]AivenInvoice, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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