put

package
v0.0.0-...-d0d0283 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Put

func Put(ctx context.Context, req io.Reader, resp, log io.Writer, source string) error

Types

type Request

type Request struct {
	resource.Source `json:"source"`
	Params          resource.Params `json:"params" validate:"required"`
}

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