natsio/stream_utilties.go

15 lines
352 B
Go
Raw Normal View History

2023-04-27 04:19:33 +00:00
package natsio
type StreamUtilities struct {
Stream string
Server string
}
func (s StreamUtilities) GenerateReqrepSubject(subject string) string {
return GenerateReqrepSubject(s.Stream, s.Server, subject)
}
func (s StreamUtilities) GenerateJetStreamSubject(subject string) string {
return GenerateJetStreamSubject(s.Stream, s.Server, subject)
}