gen

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateEndpoints

func GenerateEndpoints(f *jen.File, svc *types.Named) error

GenerateEndpoints generates endpoint factory for a given service

func GenerateHTTPTransport added in v0.0.4

func GenerateHTTPTransport(f *jen.File, svc *domain.Service)

func GenerateJavascriptClient added in v0.0.4

func GenerateJavascriptClient(wr Writer, service *domain.Service) error

func GenerateSwagger

func GenerateSwagger(wr io.Writer, service *domain.Service) error

Types

type Writer added in v0.0.4

type Writer interface {
	io.Writer
	io.StringWriter
}

Jump to

Keyboard shortcuts

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