Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseEvent ¶
type BaseEvent struct { CreatedAt time.Time `json:"createdAt"` AppSource string `json:"appSource"` Source string `json:"source"` LoggedInUserId string `json:"loggedInUserId"` EventName string `json:"eventName" validate:"required"` Tenant string `json:"tenant" validate:"required"` EntityId string `json:"entityId" validate:"required"` EntityType model.EntityType `json:"entityType" validate:"required"` }
type BaseEventAccessor ¶
type BaseRequest ¶
type BaseRequest struct { ObjectID string `json:"objectID" validate:"required"` Tenant string `json:"tenant" validate:"required"` LoggedInUserId string `json:"loggedInUserId"` AppSource string `json:"appSource"` SourceFields common.Source `json:"sourceFields"` }
Deprecated
func NewBaseRequest ¶
func NewBaseRequest(objectID, tenant, loggedInUserId string, sourceFields common.Source) BaseRequest
Click to show internal directories.
Click to hide internal directories.