nats

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: GPL-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 Service

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

func ForConnection

func ForConnection(conn *ng.Conn) *Service

func (*Service) Conn

func (ns *Service) Conn() *ng.Conn

func (*Service) Connect

func (ns *Service) Connect() error

func (*Service) Err

func (ns *Service) Err() error

func (*Service) Prepare

func (ns *Service) Prepare(eng *vivard.Engine, prov dep.Provider) (err error)

func (*Service) Provide

func (ns *Service) Provide() interface{}

func (*Service) Reconnect

func (ns *Service) Reconnect() error

func (*Service) Start

func (ns *Service) Start(eng *vivard.Engine, prov dep.Provider) error

Jump to

Keyboard shortcuts

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