refs

package
v0.0.0-...-066dabf Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetRequest

type GetRequest struct {
	Client *api.Client
}

func (GetRequest) Do

func (g GetRequest) Do() (*GetResponse, error)

type GetResponse

type GetResponse []struct {
	Name    string `json:"name"`
	Ref     string `json:"ref"`
	Type    string `json:"type"`
	Comment string `json:"comment,omitempty"`
}

type GetResponseRefType

type GetResponseRefType string
const (
	GetResponseRefTypeAlias GetResponseRefType = "alias"
	GetResponseRefTypeIPSet GetResponseRefType = "ipset"
)

Jump to

Keyboard shortcuts

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