Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct {
Status bool `json:"status"`
Message string `json:"message"`
Data *json.RawMessage `json:"data,omitempty"`
}
type AppMetadata ¶
type AppMetadata struct {
OrgID string `json:"org_id"`
Secret string `json:"secret"`
Endpoints []EndpointMetadata `json:"endpoints"`
}
type ApplicationRequest ¶
type ApplicationResponse ¶
type ApplicationResponse struct {
OrgID string `json:"org_id"`
Secret string `json:"secret"`
UID string `json:"uid"`
Name string `json:"name"`
CreatedAt time.Time `json:"created_at,omitempty"`
UpdatedAt time.Time `json:"updated_at,omitempty"`
DeletedAt time.Time `json:"deleted_at,omitempty"`
Events int64 `json:"events"`
}
type EndpointMetadata ¶
type EndpointRequest ¶
type EndpointResponse ¶
type EventRequest ¶
type EventRequest struct {
Event string `json:"event_type" bson:"event_type"`
Data json.RawMessage `json:"data" bson:"data"`
}
type EventResponse ¶
type EventResponse struct {
UID string `json:"uid"`
AppID string `json:"app_id"`
EventType string `json:"event_type"`
ProviderID string `json:"provider_id"`
Data json.RawMessage `json:"data"`
Metadata *MessageMetadata `json:"metadata"`
Description string `json:"description,omitempty"`
Status string `json:"status"`
AppMetadata *AppMetadata `json:"app_metadata,omitempty"`
CreatedAt time.Time `json:"created_at,omitempty"`
UpdatedAt time.Time `json:"updated_at,omitempty"`
DeletedAt time.Time `json:"deleted_at,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.