connection

package
v1.0.54 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(config Config, t func(c api.BiblioClient) error) error

func LoadTLSCredentials

func LoadTLSCredentials(config Config) (credentials.TransportCredentials, error)

Types

type Config

type Config struct {
	Username string
	Password string
	Host     string
	Port     int
	Insecure bool
	Cacert   string
	Timeout  time.Duration
}

Jump to

Keyboard shortcuts

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