grpcbuilder

package
v0.23.6 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMethodLine

func IsMethodLine(line string) bool

Types

type Builder

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

func New

func New() *Builder

func (*Builder) EnsureRequest

func (b *Builder) EnsureRequest() *restfile.GRPCRequest

func (*Builder) Finalize

func (b *Builder) Finalize(
	existingMime string,
) (*restfile.GRPCRequest, restfile.BodySource, string, bool)

func (*Builder) HandleBodyLine

func (b *Builder) HandleBodyLine(line string) bool

func (*Builder) HandleDirective

func (b *Builder) HandleDirective(key, rest string) bool

func (*Builder) SetTarget

func (b *Builder) SetTarget(target string)

Jump to

Keyboard shortcuts

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