Documentation
¶
Index ¶
Constants ¶
View Source
const ( New SchedulerState = "new" Build = "build" Builded = "builded" Error = "error" Success = "success" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
func (Attachment) MarshalEasyJSON ¶
func (v Attachment) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Attachment) MarshalJSON ¶
func (v Attachment) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Attachment) UnmarshalEasyJSON ¶
func (v *Attachment) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Attachment) UnmarshalJSON ¶
func (v *Attachment) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SchedulerNotice ¶
type SchedulerNotice struct {
Id int `json:"id"`
Type string `json:"type"`
To []string `json:"to"`
Bcc []string `json:"bcc"`
Cc []string `json:"cc"`
Subject string `json:"subject"`
Template string `json:"template"`
Attachments []Attachment `json:"attachment"`
Params map[string]interface{} `json:"params"`
Debug bool `json:"debug"`
Raw []byte `json:"-"`
Build []byte `json:"build"`
State SchedulerState `json:"state"`
Error string `json:"error"`
}
func (SchedulerNotice) MarshalEasyJSON ¶
func (v SchedulerNotice) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SchedulerNotice) MarshalJSON ¶
func (v SchedulerNotice) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SchedulerNotice) UnmarshalEasyJSON ¶
func (v *SchedulerNotice) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SchedulerNotice) UnmarshalJSON ¶
func (v *SchedulerNotice) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SchedulerState ¶
type SchedulerState string
Click to show internal directories.
Click to hide internal directories.