Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Docs []ApiEntry = []ApiEntry{ {Api: "/group/create", OtherParams: []string{"data"}, ReturnValue: "group id"}, {Api: "/group/push", StringParams: []string{"group", "author", "title", "content", "when"}, OtherParams: []string{"ids of pushed sessions"}}, {Api: "/group/setdata", StringParams: []string{"group"}, OtherParams: []string{"data"}, ReturnValue: "empty"}, {Api: "/session/create", StringParams: []string{"group", "hook", "data"}, ReturnValue: "session id"}, {Api: "/session/push", StringParams: []string{"session", "author", "title", "content", "when"}, ReturnValue: "empty"}, {Api: "/session/check", StringParams: []string{"session"}, ReturnValue: "session info"}, {Api: "/session/setdata", StringParams: []string{"session"}, OtherParams: []string{"data"}, ReturnValue: "empty"}, {Api: "/session/hide", StringParams: []string{"session"}, ReturnValue: "empty"}, }
Functions ¶
Types ¶
type OneTimeSchedule ¶
type OneTimeSchedule struct {
scheduler.OneTimeSchedule
}
func NewOneTimeSchedule ¶
func NewOneTimeSchedule(t time.Time) *OneTimeSchedule
func (*OneTimeSchedule) GetType ¶
func (s *OneTimeSchedule) GetType() string
func (*OneTimeSchedule) IsType ¶
func (s *OneTimeSchedule) IsType(t string) bool
type PushToSessionJob ¶
type PushToSessionJob struct {
// contains filtered or unexported fields
}
func NewPushToSessionJob ¶
func NewPushToSessionJob(url string, data []byte) *PushToSessionJob
func (*PushToSessionJob) GetType ¶
func (j *PushToSessionJob) GetType() string
func (*PushToSessionJob) IsType ¶
func (j *PushToSessionJob) IsType(t string) bool
func (*PushToSessionJob) Run ¶
func (j *PushToSessionJob) Run()
Click to show internal directories.
Click to hide internal directories.