safeline

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID          = "safeline"
	EndpointKey = "endpoint"
	TokenKey    = "token"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	Data struct {
		Nodes []map[string]string `json:"nodes"`
	} `json:"data"`
	Err string `json:"err"`
	Msg string `json:"msg"`
}

type SafeLine

type SafeLine struct {
	// contains filtered or unexported fields
}

func NewSafeLine

func NewSafeLine(endpoint string, token string) *SafeLine

func (*SafeLine) QPS

func (v *SafeLine) QPS(ctx context.Context) (*Response, error)

Jump to

Keyboard shortcuts

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