Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EndpointSet ¶ added in v0.1.0
type EndpointSet struct { Service Service // ModuleName can be used instead of the package name in an operation name to uniquely identify a service call. // // Falls back to the package name. ModuleName string // WithOpenCensus enables generating a trace middleware for the endpoint set. WithOpenCensus bool // ErrorStrategy decides whether returned errors are checked for being endpoint or service errors. ErrorStrategy string }
EndpointSet represents a set of endpoints for a single service. nolint: golint
type File ¶ added in v0.1.0
type File struct { gentypes.File // EndpointSets represents endpoints to be generated for each service in the package. EndpointSets []EndpointSet }
File represents one or more services and provides information for generating endpoints for these services.
Click to show internal directories.
Click to hide internal directories.