Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIncomingMsgHandler ¶
func NewIncomingMsgHandler(logger *logrus.Logger, incomingChan chan *api.ChatMessage) nats.MsgHandler
Types ¶
type ChatConnection ¶
type ChatConnection struct { SenderAddress string RecepientAddress string // contains filtered or unexported fields }
func (*ChatConnection) Close ¶
func (c *ChatConnection) Close() (err error)
func (*ChatConnection) Send ¶
func (c *ChatConnection) Send(srv api.Daemon_SendServer) error
type ShutdownableDaemonServer ¶
type ShutdownableDaemonServer interface { api.DaemonServer Shutdown() error }
func NewDaemon ¶
func NewDaemon(logger *logrus.Logger) ShutdownableDaemonServer
Click to show internal directories.
Click to hide internal directories.