Versions in this module Expand all Collapse all v1 v1.0.4 Oct 25, 2020 Changes in this version + const DEFAULT_KIT_PROTO_FILE_INDENT_CHAR + const ENV_NAME_KIT_PROTO_FILE_INDENT_CHAR + var SupportedTransports = []string + type BaseGenerator struct + func (b *BaseGenerator) AddImportsToFile(imp []parser.NamedTypeValue, src string) (string, error) + func (b *BaseGenerator) CreateFolderStructure(path string) error + func (b *BaseGenerator) EnsureThatWeUseQualifierIfNeeded(tp string, imp []parser.NamedTypeValue) string + func (b *BaseGenerator) GenerateNameBySample(sample string, exclude []parser.NamedTypeValue) string + func (b *BaseGenerator) InitPg() + type BuildService struct + Context string + DockerFile string + type DockerCompose struct + Services map[string]interface{} + Version string + type DockerService struct + Build BuildService + ContainerName string + Ports []string + Restart string + Volumes []string + type Gen interface + Generate func() error + func NewGenerateClient(name string, transport, pbImportPath string) Gen + func NewGenerateDocker(glide bool) Gen + func NewGenerateMiddleware(name, serviceName string, ep bool) Gen + func NewGenerateService(name, transport, pbPath, pbImportPath string, ...) Gen + func NewGenerateTransport(name string, gorillaMux bool, transport, pbPath, pbImportPath string, ...) Gen + func NewNewService(name string) Gen + type GenerateClient struct + func (g *GenerateClient) Generate() (err error) + type GenerateDocker struct + func (g *GenerateDocker) Generate() (err error) + type GenerateMiddleware struct + func (g *GenerateMiddleware) Generate() (err error) + type GenerateService struct + func (g *GenerateService) Generate() (err error) + type GenerateTransport struct + func (g *GenerateTransport) Generate() (err error) + type NewService struct + func (g *NewService) Generate() error + type PartialGenerator struct + func NewPartialGenerator(st *jen.Statement) *PartialGenerator + func (p *PartialGenerator) NewLine() + func (p *PartialGenerator) Raw() *jen.Statement + func (p *PartialGenerator) String() string