Documentation ¶
Index ¶
- func NewCandidate(ctx context.Context, addr string, requestHeader http.Header, ...) (api.Candidate, jsonrpc.ClientCloser, error)
- func NewCommonRPCV0(ctx context.Context, addr string, requestHeader http.Header, ...) (api.Common, jsonrpc.ClientCloser, error)
- func NewEdge(ctx context.Context, addr string, requestHeader http.Header, ...) (api.Edge, jsonrpc.ClientCloser, error)
- func NewHTTP3Client() *http.Client
- func NewHTTP3ClientWithPacketConn(tansport *quic.Transport) (*http.Client, error)
- func NewL5(ctx context.Context, addr string, requestHeader http.Header, ...) (api.L5, jsonrpc.ClientCloser, error)
- func NewLocator(ctx context.Context, addr string, requestHeader http.Header, ...) (api.Locator, jsonrpc.ClientCloser, error)
- func NewScheduler(ctx context.Context, addr string, requestHeader http.Header, ...) (api.Scheduler, jsonrpc.ClientCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCandidate ¶
func NewCandidate(ctx context.Context, addr string, requestHeader http.Header, opts ...jsonrpc.Option) (api.Candidate, jsonrpc.ClientCloser, error)
NewCandidate creates a new http jsonrpc client for candidate
func NewCommonRPCV0 ¶
func NewCommonRPCV0(ctx context.Context, addr string, requestHeader http.Header, opts ...jsonrpc.Option) (api.Common, jsonrpc.ClientCloser, error)
NewCommonRPCV0 creates a new http jsonrpc client.
func NewHTTP3Client ¶ added in v0.1.11
func NewHTTP3ClientWithPacketConn ¶ added in v0.1.11
NewHTTP3ClientWithPacketConn new http3 client for nat trave
func NewLocator ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.