Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublisherWrapper ¶
type PublisherWrapper struct {
// contains filtered or unexported fields
}
PublisherWrapper provides additional check before send message to the stream
func MewPublisherWrapper ¶
func MewPublisherWrapper(pub nc.Publisher, checker Checker) *PublisherWrapper
MewPublisherWrapper with checker
func (*PublisherWrapper) Close ¶
func (wr *PublisherWrapper) Close() error
Close publisher if supported
Click to show internal directories.
Click to hide internal directories.