grpc

package
v2.0.0-...-7f95631 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerInfo

type ServerInfo struct {
	Host                string
	Version             string
	ServerStartTime     int64
	ServerUpTimeSeconds int64
}

type Transport

type Transport struct {
	// contains filtered or unexported fields
}

func NewTransport

func NewTransport(ctx context.Context, cfg *config.Connection) (*Transport, error)

func (*Transport) Close

func (t *Transport) Close() error

func (*Transport) KubeMQClient

func (t *Transport) KubeMQClient() pb.KubemqClient

func (*Transport) Ping

func (t *Transport) Ping(ctx context.Context) (*ServerInfo, error)

Jump to

Keyboard shortcuts

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