app

package
v0.0.0-...-73a53c4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: GPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MountPingController

func MountPingController(service *goa.Service, ctrl PingController)

MountPingController "mounts" a Ping resource controller on the given service.

Types

type AnswerPingPingContext

type AnswerPingPingContext struct {
	context.Context
	*goa.ResponseData
	*goa.RequestData
	Args string
}

AnswerPingPingContext provides the ping AnswerPing action context.

func NewAnswerPingPingContext

func NewAnswerPingPingContext(ctx context.Context, service *goa.Service) (*AnswerPingPingContext, error)

NewAnswerPingPingContext parses the incoming request URL and body, performs validations and creates the context used by the ping controller AnswerPing action.

func (*AnswerPingPingContext) OK

func (ctx *AnswerPingPingContext) OK(resp []byte) error

OK sends a HTTP response with status code 200.

type PingController

type PingController interface {
	goa.Muxer
	AnswerPing(*AnswerPingPingContext) error
}

PingController is the controller interface for the Ping actions.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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