1234567891011121314151617181920212223242526272829303132333435 |
- package notify
- import (
- "net/http"
- "time"
- )
- type Request struct {
- ID string `json:"id"`
- CreateTime *time.Time `json:"create_time"`
- EventType string `json:"event_type"`
- ResourceType string `json:"resource_type"`
- Resource *EncryptedResource `json:"resource"`
- Summary string `json:"summary"`
-
- RawRequest *http.Request
- }
- type EncryptedResource struct {
- Algorithm string `json:"algorithm"`
- Ciphertext string `json:"ciphertext"`
- AssociatedData string `json:"associated_data"`
- Nonce string `json:"nonce"`
- OriginalType string `json:"original_type"`
- Plaintext string
- }
- type ContentMap map[string]interface{}
|