Documentation ¶
Index ¶
- func EncodeDecodeFiles(genpkg string, root *expr.RootExpr) []*codegen.File
- func Generate(genpkg string, roots []eval.Root, files []*codegen.File) ([]*codegen.File, error)
- func Goakitify(genpkg string, roots []eval.Root, files []*codegen.File) ([]*codegen.File, error)
- func GoakitifyExample(genpkg string, roots []eval.Root, files []*codegen.File) ([]*codegen.File, error)
- func MountFiles(root *expr.RootExpr) []*codegen.File
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeDecodeFiles ¶
EncodeDecodeFiles produces a set of go-kit transport encoders and decoders that wrap the corresponding generated goa functions.
func Goakitify ¶
Goakitify modifies all the previously generated files by adding go-kit imports and replacing the following instances "goa.Endpoint" with "github.com/go-kit/kit/endpoint".Endpoint
Goakitify also wraps instances of endpoint.Endpoint into instances of goa.Endpoint when used as argument of either goagrpc.NewStreamHandler or goagrpc.NewUnaryHandler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.