config

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: BSD-3-Clause Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIKey

func APIKey() string

APIKey is the API key to use.

func Load

func Load(r io.Reader) error

Load parses a JSON file to get the required credentials to operate NOWPayment's API.

func Login

func Login() string

Login returns the email address to use with the API.

func Password

func Password() string

Password returns the related password to use.

func Server

func Server() string

Server returns URL to connect to the API service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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