serverasync

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectServerAsync

func InjectServerAsync(s *ServerAsync)

func LoadServerAsync

func LoadServerAsync() baseiface.ISingleton

Types

type ServerAsync

type ServerAsync struct {
	basedto.BaseEntitySingle
	*goproxy.GonatsProxy
	TotalMsg int
}

func FindBeanServerAsync

func FindBeanServerAsync() *ServerAsync

FindBeanServerAsync

func NewServerAsync

func NewServerAsync() *ServerAsync

func (*ServerAsync) HandleMessageDefault

func (self *ServerAsync) HandleMessageDefault(msg *nats.Msg)

func (*ServerAsync) StartServer

func (self *ServerAsync) StartServer() (*nats.Conn, error)

func (*ServerAsync) Subscribe

func (self *ServerAsync) Subscribe(Topic string) (*nats.Conn, error)

subscribe

Jump to

Keyboard shortcuts

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