Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback struct {
CallbackRest CallbackRest `json:"rest"`
}
type CallbackRest ¶
type CallbackRest struct { Request Request `json:"request"` Delay ProcessDelay `json:"after"` AuthorizationKey string `json:"token-generator"` }
type ProcessDelay ¶
type ProcessDelay struct {
// contains filtered or unexported fields
}
func (*ProcessDelay) Delay ¶
func (d *ProcessDelay) Delay() time.Duration
func (*ProcessDelay) UnmarshalJSON ¶
func (d *ProcessDelay) UnmarshalJSON(data []byte) error
type Response ¶
type Response struct { Status int `json:"status"` Body json.RawMessage `json:"body"` Headers *map[string]string `json:"headers"` Delay ProcessDelay `json:"after"` }
Click to show internal directories.
Click to hide internal directories.