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 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
Click to show internal directories.
Click to hide internal directories.