Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateGokit ¶
func GenerateGokit(dt doctree.Doctree, previousFiles []truss.NamedReadWriter, goImportPath string) ([]truss.NamedReadWriter, error)
GenerateGokit accepts a doctree representing the ast of a group of .proto files, a []truss.NamedReadWriter representing files generated previously, and a goImportPath for templating go code imports GenerateGoCode returns the a []truss.NamedReadWriter representing a generated gokit microservice file structure
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package clientarggen collects information for templating the code in a truss-generated client which marshals command line flags into message fields for each service.
|
Package clientarggen collects information for templating the code in a truss-generated client which marshals command line flags into message fields for each service. |
Package httptransport provides functions and template helpers for templating the http-transport of a go-kit based microservice.
|
Package httptransport provides functions and template helpers for templating the http-transport of a go-kit based microservice. |
This file is here to hold the `go generate` command above.
|
This file is here to hold the `go generate` command above. |
Click to show internal directories.
Click to hide internal directories.