natsio/subject/socket.go

15 lines
246 B
Go
Raw Normal View History

2023-03-23 03:34:58 +00:00
package subject
import "fmt"
func getSocketValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Socket, val)
}
// Socket ...
var Socket = struct {
EmitEventReward string
}{
EmitEventReward: getSocketValue("emit_event_reward"),
}