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 ¶
func Header(key, value string) ClientOption
type DialOptions ¶
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
Click to show internal directories.
Click to hide internal directories.