gurl

package
v0.0.0-...-c2c3684 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(ctx context.Context, serviceMethod string, payload string, opts ...Option) ([]byte, error)

Types

type FormatOptions

type FormatOptions struct {
	EmitJSONDefaultFields bool
	IncludeTextSeparator  bool
	AllowUnknownFields    bool
}

type Option

type Option func(*Options)

func Addr

func Addr(s string) Option

func DialOption

func DialOption(args ...grpc.DialOption) Option

func Formatter

func Formatter(arg FormatOptions) Option

func Headers

func Headers(args ...string) Option

func Network

func Network(s string) Option

func Verbose

func Verbose() Option

func VerbosityLevel

func VerbosityLevel(n int) Option

VerbosityLevel 0 = default 1 = verbose 2 = very verbose

type Options

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

Jump to

Keyboard shortcuts

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