# README
gengokit
- Generates Golang code for a gokit microservice that includes:
- Logging
- Metrics/Instrumentation
- gRPC transport
- http/json transport (including all encoding/decoding)
- no-op handler methods for each service rpc, ready for business logic to be added
- Generates Golang code for a cli gokit microservice client that includes:
- gRPC transport
- http/json transport (including all encoding/decoding)
- handler methods that marshal command line arguments into server requests
# Packages
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 generator generates a gokit service based on a service definition.
No description provided by the author
Package handlers manages the exported methods in the service handler code adding/removing exported methods to match the service definition.
Package httptransport provides functions and template helpers for templating the http-transport of a go-kit based service.
This file is here to hold the `go generate` command above.
# Functions
ApplyTemplate is a helper methods that packages can call to render a template with any data and func map.
No description provided by the author
# Variables
FuncMap contains a series of utility functions to be passed into templates and used within those templates.
# Interfaces
No description provided by the author