config

package
v0.0.0-...-880306c Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImplementsINatsConfig

func ImplementsINatsConfig(cfg INatsConfig) bool

Types

type INatsConfig

type INatsConfig interface {
	NATSUrl() string
	NATSUser() string
	NATSPwd() string
}

func NewNatsConfig

func NewNatsConfig() INatsConfig

type NatsConfig

type NatsConfig struct {
}

func (*NatsConfig) NATSPwd

func (c *NatsConfig) NATSPwd() string

func (*NatsConfig) NATSUrl

func (c *NatsConfig) NATSUrl() string

func (*NatsConfig) NATSUser

func (c *NatsConfig) NATSUser() string

Jump to

Keyboard shortcuts

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