Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNatsServer ¶
func ShutdownNatsServer ¶
Types ¶
type Clock ¶
Clock implements clock.Clock, but each call to Now() will increment a counter. The subsequent call will be the start time incremented by the specified unit. For example, increment by one minute at a time.
type IDGen ¶
type IDGen struct {
// contains filtered or unexported fields
}
IDGen wraps another id.Gen but remembers the last ID that was generated in order to make assertions.
Click to show internal directories.
Click to hide internal directories.