versions

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const NOTOK = "NOT OK"
View Source
const OK = "OK"

Variables

This section is empty.

Functions

func Query

func Query(ctx context.Context, cfg *config.Versions) map[string]any

Types

type ErrorResponse

type ErrorResponse struct {
	Error   string `json:"error,omitempty"`
	Message string `json:"message,omitempty"`
}

type Response

type Response struct {
	URL    string         `json:"url,omitempty"`
	Error  *ErrorResponse `json:"error,omitempty"`
	Status string         `json:"status,omitempty"`
	Result any            `json:"result,omitempty"`
}

Jump to

Keyboard shortcuts

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