breezeconnect

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client represents the Breeze API client

func NewClient

func NewClient(apiKey, apiSecret string) *Client

NewClient creates a new Breeze API client

func (*Client) GetAPIKey

func (c *Client) GetAPIKey() string

GetAPIKey returns the API key

func (*Client) MakeRequest

func (c *Client) MakeRequest(method, endpoint string, payload interface{}) ([]byte, error)

MakeRequest makes an authenticated request to the API

func (*Client) SetSessionKey

func (c *Client) SetSessionKey(sessionKey string)

SetSessionKey sets the session key

type ClientInterface

type ClientInterface interface {
	GetAPIKey() string
	SetSessionKey(sessionKey string)
	MakeRequest(method, endpoint string, payload interface{}) ([]byte, error)
}

ClientInterface defines the interface for the Breeze API client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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