client

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ERROR_CODE    = "errorCode"
	ERROR_MESSAGE = "errorMessage"
)

Variables

This section is empty.

Functions

func GetHttpClient

func GetHttpClient(req *http.Request) *http.Client

func IsErrorResponse

func IsErrorResponse(response map[string]interface{}) (bool, string)

Types

type Client

type Client struct {
	ApiToken string
	BaseUrl  string
	// contains filtered or unexported fields
}

func New

func New(apiToken, baseUrl string) *Client

Entry point into the logz.io client

Jump to

Keyboard shortcuts

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