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.
14 lines
275 B
14 lines
275 B
2 years ago
|
package requestparams
|
||
2 years ago
|
|
||
|
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
|
||
|
}
|