conditionalrequest

package
v0.0.0-...-42225ac Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate() ([]string, error)

Generate adds method to support conditional queries

func WriteNames

func WriteNames(api *design.APIDefinition, outDir string) ([]string, error)

WriteNames creates the names.txt file.

Types

type Entity

type Entity struct {
	AppTypeName    string
	DomainTypeName string
	IsSingle       bool
	IsList         bool
}

Entity holds a single goa Response entity object that can be used in multiple responses.

type RequestContext

type RequestContext struct {
	Name   string
	Entity Entity
}

RequestContext holds a single goa Request Context object

type RequestHeader

type RequestHeader struct {
	Name   string
	Header string
	Type   string
}

RequestHeader holds a single HTTP Header as defined in the design for a Request Context

Jump to

Keyboard shortcuts

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