auth

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APICredentials

type APICredentials struct {
	APIKey    string
	APISecret string
}

APICredentials holds API credentials

type Signer

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

Signer implements request signing for bitFlyer API

func NewSigner

func NewSigner(credentials APICredentials) *Signer

NewSigner creates a new signer with the given credentials

func (*Signer) Sign

func (s *Signer) Sign(req *http.Request) error

Sign signs the HTTP request with the required authentication headers

Jump to

Keyboard shortcuts

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