generator

package
v2.0.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 31 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 NewGatewayGenerator

func NewGatewayGenerator(
	services model.Interfaces,
) generator.Generator

func NewHttpTransport

func NewHttpTransport(
	options httpTransportOptionsGateway,
) generator.Generator

func NewInstrumenting

func NewInstrumenting(
	options instrumentingGeneratorOptionsGateway,
) generator.Generator

func NewInterface

func NewInterface(interfaces model.Interfaces) generator.Generator

func NewJsonRPCGoClient

func NewJsonRPCGoClient(options jsonRPCGoClientOptionsGateway) generator.Generator

func NewJsonRPCJSClient

func NewJsonRPCJSClient(options jsonRPCJSClientOptionsGateway) generator.Generator

func NewJsonRPCServer

func NewJsonRPCServer(
	options jsonRPCServerOptionsGateway,
) generator.Generator

func NewJsonrpcDoc

func NewJsonrpcDoc(options jsonrpcDocOptionsGateway, 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 Bool

type Bool bool

func (Bool) String

func (r Bool) String() string

type EndpointOption

type EndpointOption struct {
}

type MethodErrors

type MethodErrors []*model.HTTPError

func (MethodErrors) Len

func (n MethodErrors) Len() int

func (MethodErrors) Less

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

func (MethodErrors) Swap

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

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)

Jump to

Keyboard shortcuts

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