version

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Do

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

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