Documentation ¶
Overview ¶
Package genclient provides a generator for the client tool and package of a goa application. The generator creates a main.go file and a subpackge containing data structures specific to the service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Signers contains the names of the request signers supported by the client. Signers []string // SignerPackages contains the Go package path to external packages containing custom // signers. SignerPackages []string // Version is the generated client version. Version string )
Functions ¶
Types ¶
type Command ¶
type Command struct {
*codegen.BaseCommand
}
Command is the goa application code generator command line data structure. It implements meta.Command.
func (*Command) RegisterFlags ¶
func (c *Command) RegisterFlags(r codegen.FlagRegistry)
RegisterFlags registers the command line flags with the given registry.
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator is the application code generator.
func NewGenerator ¶
NewGenerator returns the application code generator.
Click to show internal directories.
Click to hide internal directories.