mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-27 12:08:52 +08:00
14 lines
275 B
Go
14 lines
275 B
Go
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
|
|
}
|