proxy

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenerator

func NewGenerator(fs afero.Fs, compiler compiler, renderer renderer, baseURL, output string, logs io.Writer) (proxyGenerator, error)

Types

type PackageToService

type PackageToService struct {
	Service string

	ProtoPackage   string
	ServicePackage string
}

type SubstitutionForMainGoView

type SubstitutionForMainGoView struct {
	GoPackages                    []string
	OriginalGoPackagesWithService []string
	PackageToServices             []PackageToService
}

SubstitutionForMainGoView data view for generating 'main.go'.

type SubstitutionMethodForStubsView

type SubstitutionMethodForStubsView struct {
	URL              string
	Method           string
	Service          string
	PackageHeader    string
	Package          string
	MethodInName     string
	MethodInPackage  string
	MethodOutName    string
	MethodOutPackage string
	MethodPackage    string

	GoPackages []string
}

SubstitutionMethodForStubsView data view for generating file with grpc method.

type SubstitutionServiceForStubsView

type SubstitutionServiceForStubsView struct {
	Service   string
	Package   string
	GoPackage string

	PackageHeader string
}

SubstitutionServiceForStubsView data view for generating file with service.

Jump to

Keyboard shortcuts

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