Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Envelope ¶
type Envelope struct {
Success bool `json:"success"`
RequestID string `json:"request_id"`
Time string `json:"time"`
Response any `json:"response"`
Error string `json:"error,omitempty"`
Message string `json:"message,omitempty"`
HTTPStatusCode int `json:"-"`
}
func ReadEnvelope ¶
func (*Envelope) SetResponse ¶
func (*Envelope) SetSuccess ¶
Click to show internal directories.
Click to hide internal directories.