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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.