request

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 11 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 {
	Hostname   string
	ClientConn *grpc.ClientConn
}

func NewClient

func NewClient(opt *Option) *Client

type Option

type Option struct {
	Resolver   *Resolver
	Secret     string
	CertFile   string
	ServerName string
}

type Resolver

type Resolver struct {
	// StaticAddress and DynamicOption could only be specified one at the same time
	StaticAddress []string
	DynamicOption *k8s.BuilderOption
}

Jump to

Keyboard shortcuts

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