Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type Handle func(ctx context.Context) ServerHandle
type NatsClient ¶
type NatsClient struct {
// contains filtered or unexported fields
}
func (*NatsClient) Subscribe ¶
func (n *NatsClient) Subscribe(handle Handle) error
type ServerHandle ¶
type ServerHandle interface {
ActionCheck(req *deviceMsg.PublishMsg) error
}
Click to show internal directories.
Click to hide internal directories.