tools

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 12 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 {
	Versions Versions
	Protoc   ProtocConfig
}

type ProtocConfig

type ProtocConfig struct {
	ConnectES      bool
	ConnectGo      bool
	ConnectWeb     bool
	CppGRPC        bool
	CSharpGRPC     bool
	Doc            bool
	Docs           bool
	ES             bool
	Go             bool
	GogoFast       bool
	GolangDeepCopy bool
	GolangJSONShim bool
	GoGRPC         bool
	GRPCGateway    bool
	GRPCWeb        bool
	ImprobableTS   bool
	JavaGRPC       bool
	JSONSchema     bool
	JavascriptGRPC bool
	ObjectiveCGRPC bool
	PHPGRPC        bool
	PythonGRPC     bool
	RubyGRPC       bool
	TS             bool
	Validate       bool
}

type ToolManager

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

func NewToolManager

func NewToolManager(config Config) (*ToolManager, error)

func (*ToolManager) RunProtoc

func (m *ToolManager) RunProtoc(args []string, protos []string, includesDir string) error

type Versions

type Versions struct {
	Go                      string
	NodeJS                  string
	Protoc                  string
	ProtocGenConnectES      string
	ProtocGenConnectGo      string
	ProtocGenConnectWeb     string
	ProtocGenDoc            string
	ProtocGenDocs           string
	ProtocGenES             string
	ProtocGenGo             string
	ProtocGenGogoFast       string
	ProtocGenGoGRPC         string
	ProtocGenGolangDeepCopy string
	ProtocGenGolangJSONShim string
	ProtocGenGRPC           string
	ProtocGenGRPCGateway    string
	ProtocGenGRPCJava       string
	ProtocGenGRPCWeb        string
	ProtocGenJSONSchema     string
	ProtocGenTS             string
	ProtocGenValidate       string
	ProtocTSGen             string
}

Jump to

Keyboard shortcuts

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