15 lines
352 B
Go
15 lines
352 B
Go
|
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)
|
||
|
}
|