generator

package
v0.0.7-beta Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Marshaller *string
	Only       *string
}

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(
	file *protogen.File,
	cfg Config,
	gf *protogen.GeneratedFile,
) Generator

func (*Generator) GenerateClients

func (g *Generator) GenerateClients() (err error)

GenerateClients generates HTTP clients for all services if the file

func (*Generator) GenerateServers

func (g *Generator) GenerateServers(file *protogen.File) (err error)

GenerateServers generates HTTP servers for all services if the file

Jump to

Keyboard shortcuts

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