grpcclient

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address          string            `json:"address"`
	CACertPath       string            `json:"ca_cert_path"`
	ClientCertPath   string            `json:"client_cert_path"`
	ClientKeyPath    string            `json:"client_key_path"`
	APIKey           string            `json:"api_key"`
	Insecure         bool              `json:"insecure"`
	TimeoutInSeconds int               `json:"timeout_in_seconds"`
	Token            string            `json:"token"`
	Headers          map[string]string `json:"headers"`
}

type DialOptionsProvider

type DialOptionsProvider func(*Config) ([]grpc.DialOption, error)

func NewDialOptionsProvider

func NewDialOptionsProvider() DialOptionsProvider

Jump to

Keyboard shortcuts

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