nats_client

package
v0.0.0-...-f5b8d2f Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NatsClient

type NatsClient interface {
	GetInfo(url string) (NatsInfo, error)
}

type NatsInfo

type NatsInfo struct {
	ServerId      string
	NatsVersion   string `json:"version"`
	GolangVersion string `json:"go"`
	Host          string
	Port          int32
}

func GetInfo

func GetInfo(url string) (*NatsInfo, error)

Jump to

Keyboard shortcuts

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