Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RegisterSubject is the subject used to register a new user RegisterSubject = "register" // UnregisterSubject is the subject used to unregister a user UnregisterSubject = "unregister" // OkResponse is the response sent when a request is successful OkResponse = "ok" // ErrorResponse is the response sent when a request is unsuccessful ErrorResponse = "error" )
Variables ¶
This section is empty.
Functions ¶
func SetupConnOptions ¶
func SetupConnOptions(opts []nats.Option) []nats.Option
SetupConnOptions sets up the connection options for nats.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.