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

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