utils

package
v0.0.0-...-cf9e0b1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 4 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 {
	Creds   string
	Tlscert string
	Tlskey  string
	Tlsca   string
}

Config holds shared configuration for the clients

func NewConfig

func NewConfig() *Config

NewConfig returns a new configuration struct

func (*Config) GetClientOptions

func (conf *Config) GetClientOptions() []nats.Option

GetClientOptions cenerates NATS client options.

Jump to

Keyboard shortcuts

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