Documentation ¶
Index ¶
- func EphemeralSubject(stream string) string
- func StreamSubject(stream string) string
- type Consumer
- type Factory
- func (f Factory) Consumer(stream string) (*Consumer, error)
- func (f Factory) Durable(durableName string) Factory
- func (f Factory) Ephemeral() Factory
- func (f Factory) MaxAge(m time.Duration) Factory
- func (f Factory) MaxMessages(m int) Factory
- func (f Factory) Publisher(stream string) (*Publisher, error)
- func (f Factory) Stream(stream string) error
- func (f Factory) Subject(s string) Factory
- type Msg
- type PubMsg
- type Publisher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EphemeralSubject ¶
func StreamSubject ¶
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func (Factory) MaxMessages ¶
type Msg ¶
type Msg struct {
// contains filtered or unexported fields
}
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func (*Publisher) PublishJSON ¶
Click to show internal directories.
Click to hide internal directories.