Documentation ¶ Index ¶ type Config type Context func NewContext(config Config) *Context 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. Source Files ¶ View all Source files sdk.go Directories ¶ Show internal Expand all Path Synopsis logs uptime Click to show internal directories. Click to hide internal directories.