get

package
v0.0.0-...-afad4ed Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const ContextKeyClock = ContextKey("clock")

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, req io.Reader, resp, w io.Writer, destination string) error

Types

type ContextKey

type ContextKey string

type Request

type Request struct {
	resource.Request
	Version resource.Version `json:"version" validate:"required"`
	Params  resource.Params  `json:"params"`
}

type Response

type Response struct {
	Version  resource.Version         `json:"version"`
	Metadata []resource.NameValuePair `json:"metadata,omitempty"`
}

Jump to

Keyboard shortcuts

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