requestParams

package
v0.0.0-...-4702bed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PushForward

type PushForward struct {
	NextType int    `json:"nextType"`
	Scheme   string `json:"scheme,omitempty"`
}

func (*PushForward) SetNextType

func (m *PushForward) SetNextType(c int)

func (*PushForward) SetScheme

func (m *PushForward) SetScheme(t string)

type PushNotify

type PushNotify struct {
	Plats         []int  `json:"plats,omitempty"`
	IosProduction int    `json:"iosProduction,omitempty"`
	Content       string `json:"content,omitempty"`
	Type          int    `json:"type,omitempty"`
}

func (*PushNotify) SetContent

func (n *PushNotify) SetContent(content string)

func (*PushNotify) SetIosProduction

func (n *PushNotify) SetIosProduction(iosProduction int)

func (*PushNotify) SetPlats

func (n *PushNotify) SetPlats(plats []int)

func (*PushNotify) SetType

func (n *PushNotify) SetType(Type int)

type PushObj

type PushObj struct {
	Source      interface{} `json:"source"`
	Appkey      interface{} `json:"appkey"`
	PushTarget  interface{} `json:"pushTarget,omitempty"`
	PushNotify  interface{} `json:"pushNotify,omitempty"`
	PushForward interface{} `json:"pushForward,omitempty"`
}

func (*PushObj) SetAppkey

func (p *PushObj) SetAppkey(appkey string)

func (*PushObj) SetPushForward

func (p *PushObj) SetPushForward(o *PushForward)

func (*PushObj) SetPushNotify

func (p *PushObj) SetPushNotify(m *PushNotify)

func (*PushObj) SetPushTarget

func (p *PushObj) SetPushTarget(no *PushTarget)

func (*PushObj) SetSource

func (p *PushObj) SetSource(source string)

type PushTarget

type PushTarget struct {
	Target interface{} `json:"target,omitempty"`
	Alias  []string    `json:"alias,omitempty"`
}

func (*PushTarget) SetAlias

func (p *PushTarget) SetAlias(alias []string)

func (*PushTarget) SetTarget

func (p *PushTarget) SetTarget(target int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL