sdk

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// APIToken is the BetterStack API token
	APIToken string
	// APIType is the BetterStack API type. "uptime" or "logs"
	APIType string
}

Config contains parameters for configuring the SDK.

type Context

type Context struct {
	Config Config
}

Context contains the SDK configuration.

func NewContext

func NewContext(config Config) *Context

NewContext creates a new Context.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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