truss

package
Version: v0.0.0-...-21e04d4 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: MIT Imports: 3 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 {
	// The first path in $GOPATH
	GoPath []string

	// The go package where .pb.go files protoc-gen-go creates will be written
	PBGoPackage string
	PBGoPath    string
	// The go package where the service code will be written
	ServicePackage string
	ServicePath    string

	// The paths to each of the .proto files truss is being run against
	DefPaths []string
	RawPaths []string

	// The files of a previously generated service, may be nil
	PrevGen map[string]io.Reader

	IncludePaths []string

	SvcPath string
	SvcDef  *svcdef.Svcdef

	MetaInfos map[string]*execprotoc.ProtoMetaInfo
}

Config defines the inputs to a truss service generation

Source Files

Directories

Path Synopsis
Package execprotoc provides an interface for interacting with proto requiring only paths to files on disk
Package execprotoc provides an interface for interacting with proto requiring only paths to files on disk
Package parsesvcname will parse the service name of a protobuf package.
Package parsesvcname will parse the service name of a protobuf package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL