Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpController ¶
func NewHttpController(flawRepository repository) *flawHttpController
func NewService ¶ added in v0.3.0
func NewService(flawRepository flawRepository, flawEventRepository flawEventRepository) *service
Types ¶
type FlawEventDTO ¶
type FlawEventDTO struct { Type models.FlawEventType `json:"type"` FlawID string `json:"flawId"` UserID string `json:"userId"` Payload interface{} `json:"payload"` }
func (FlawEventDTO) ToModel ¶
func (dto FlawEventDTO) ToModel() models.FlawEvent
type FlawEventHttpController ¶
type FlawEventHttpController struct {
// contains filtered or unexported fields
}
func NewEventHttpController ¶
func NewEventHttpController(flawEventRepository ctrFlawEventRepository) *FlawEventHttpController
Click to show internal directories.
Click to hide internal directories.