client

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Session quic.Session
}

Client stores a DoQ client

func New

func New(server string, tlsInsecureSkipVerify bool, compat bool) (Client, error)

New constructs a new client

func (Client) Close

func (c Client) Close() error

Close closes a Client QUIC connection

func (Client) SendQuery

func (c Client) SendQuery(message dns.Msg) (dns.Msg, error)

SendQuery sends query over a new QUIC stream

Jump to

Keyboard shortcuts

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