You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/internal/push/mobpush/requestparams/pushTarget.go

14 lines
275 B

2 years ago
package requestparams
type PushTarget struct {
Target interface{} `json:"target,omitempty"`
Alias []string `json:"alias,omitempty"`
}
func (p *PushTarget) SetTarget(target int) {
p.Target = target
}
func (p *PushTarget) SetAlias(alias []string) {
p.Alias = alias
}