modules

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientModule

type ClientModule struct {
	*pgs.ModuleBase
	// contains filtered or unexported fields
}

func GRPCClient

func GRPCClient() *ClientModule

func (*ClientModule) Execute

func (m *ClientModule) Execute(targets map[string]pgs.File, pkgs map[string]pgs.Package) []pgs.Artifact

func (*ClientModule) InitContext

func (m *ClientModule) InitContext(c pgs.BuildContext)

func (*ClientModule) Name

func (m *ClientModule) Name() string

Name satisfies the generator.Plugin interface.

type Package

type Package struct {
	Name  string
	Alias string
}

type ProtoService added in v0.1.3

type ProtoService struct {
	Name    string
	Package string
	Service string
}

type ServiceConn added in v0.1.3

type ServiceConn struct {
	Name   string
	Target string
}

Jump to

Keyboard shortcuts

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