out

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parameters added in v0.2.1

type Parameters struct {
	Path        string `json:"path"`
	Context     string `json:"context"`
	Status      string `json:"status"`
	CommentFile string `json:"comment_file"`
	Comment     string `json:"comment"`
}

Parameters for the resource.

func (*Parameters) Validate added in v0.2.1

func (p *Parameters) Validate() error

Validate the put parameters.

type Request added in v0.2.1

type Request struct {
	Source models.Source `json:"source"`
	Params Parameters    `json:"params"`
}

Request ...

type Response added in v0.2.1

type Response struct {
	Version  models.Version  `json:"version"`
	Metadata models.Metadata `json:"metadata,omitempty"`
}

Response ...

func Run

func Run(request Request, inputDir string) (*Response, error)

Run (business logic)

Jump to

Keyboard shortcuts

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