rpc

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientOption

type ClientOption func(d *DialOptions) error
func Header(key, value string) ClientOption

type DialOptions

type DialOptions struct {
	Headers map[string][]string `json:"Headers"`
}

TODO: Implement rest of Dial Options

func (DialOptions) MarshalEasyJSON

func (v DialOptions) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DialOptions) MarshalJSON

func (v DialOptions) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DialOptions) UnmarshalEasyJSON

func (v *DialOptions) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DialOptions) UnmarshalJSON

func (v *DialOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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