ragu

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetRequireUnimplemented

func SetRequireUnimplemented(req bool)

Types

type File

func GenerateCode

func GenerateCode(input string, raguOpts ...GenerateCodeOption) ([]*File, error)

type GenerateCodeOption added in v0.2.3

type GenerateCodeOption func(*GenerateCodeOptions)

func ExperimentalHideEmptyMessages added in v0.2.3

func ExperimentalHideEmptyMessages() GenerateCodeOption

Enables an experimental feature that will omit parameters and return values of type "emptypb.Empty" from generated code. Enables more natural use of gRPC methods that accept no arguments and/or return no values (other than error).

type GenerateCodeOptions added in v0.2.3

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

func (*GenerateCodeOptions) Apply added in v0.2.3

func (o *GenerateCodeOptions) Apply(opts ...GenerateCodeOption)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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