api

package
v0.0.0-...-b3607fc Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApi

func NewApi(cfg *ApiConfig) (io.Writer, error)

NewApiStorage initializes and returns a new ApiConfig instance

Types

type ApiConfig

type ApiConfig struct {
	ApiKey       string
	ApiSignature string
	ApiEndpoint  string
	HTTPHeaders  []string
}

func (ApiConfig) Write

func (api ApiConfig) Write(content []byte) (int, error)

Write content to API Endpoint added to config

Jump to

Keyboard shortcuts

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