client

package
v0.1.1-rc.1 Latest Latest
Warning

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

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

Documentation

Overview

Package client contains code of a simple CLI application that can be used for server debugging.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "client",
	Short: "client for Connector testing and debugging purposes",
	Run: func(cmd *cobra.Command, args []string) {
		if err := runClient(cmd, args); err != nil {
			fmt.Println(err)
			os.Exit(1)
		}
	},
}

Functions

This section is empty.

Types

type Client added in v0.1.1

func NewClientFromClientConfig added in v0.1.1

func NewClientFromClientConfig(logger *zap.Logger, clientCfg *config.TClientConfig) (Client, error)

func NewClientFromServerConfig added in v0.1.1

func NewClientFromServerConfig(logger *zap.Logger, serverCfg *config.TServerConfig) (Client, error)

Jump to

Keyboard shortcuts

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