generator

package
v2.0.0-alpha.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientStruct

func NewClientStruct(
	options clientStructOptionsGateway,
) generator.Generator

func NewConfig

func NewConfig(
	st *stdtypes.Struct,
	stType stdtypes.Type,
	stExpr ast.Expr,
	funcName string,
) generator.Generator

func NewConfigDoc

func NewConfigDoc(
	st *stdtypes.Struct,
	workDir string,
	outputDir string,
) generator.Generator

func NewEndpoint

func NewEndpoint(options endpointOptionsGateway) generator.Generator

func NewEndpointFactory

func NewEndpointFactory(
	options endpointFactoryOptionsGateway,
) generator.Generator

func NewGatewayGenerator

func NewGatewayGenerator(
	services []model.GatewayServiceOption,
) generator.Generator

func NewHttpTransport

func NewHttpTransport(
	options httpTransportOptionsGateway,
) generator.Generator

func NewInstrumenting

func NewInstrumenting(
	options instrumentingGeneratorOptionsGateway,
) generator.Generator

func NewJsonRPCGoClient

func NewJsonRPCGoClient(options jsonRPCGoClientOptionsGateway) generator.Generator

func NewJsonRPCJSClient

func NewJsonRPCJSClient(
	options jsonRPCJSClientOptionsGateway,
	enums *typeutil.Map,
) generator.Generator

func NewJsonRPCServer

func NewJsonRPCServer(
	options jsonRPCServerOptionsGateway,
) generator.Generator

func NewJsonrpcDoc

func NewJsonrpcDoc(
	options jsonrpcDocOptionsGateway,
	commentMap *typeutil.Map,
	enums *typeutil.Map,
	workDir string,
) generator.Generator

func NewLogging

func NewLogging(options loggingGeneratorOptionsGateway) generator.Generator

func NewOpenapi

func NewOpenapi(
	options openapiDocOptionsGateway,
	workDir string,
) generator.Generator

func NewReadme

func NewReadme(
	options readmeGeneratorOptionsGateway,
	basePkgPath string,
	workDir string,
	gitTags []git.Tag,
) generator.Generator

func NewRestGoClient

func NewRestGoClient(
	options restGoClientOptionsGateway,
) generator.Generator

func NewRestServer

func NewRestServer(
	options restServerOptionsGateway,
) generator.Generator

Types

type EndpointOption

type EndpointOption struct {
}

type NamedSlice

type NamedSlice []*stdtypes.Named

func (NamedSlice) Len

func (n NamedSlice) Len() int

func (NamedSlice) Less

func (n NamedSlice) Less(i, j int) bool

func (NamedSlice) Swap

func (n NamedSlice) Swap(i, j int)

type Required

type Required bool

func (Required) String

func (r Required) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL