package types
type AnonymousConf struct {
Key string
Urls []string
}
type PulsarConf struct {
Endpoints string
Token string
Namespaces string
func (p *PulsarConf) IsHas() bool {
if p != nil && p.Endpoints != "" {
return true
return false