Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJsonReader ¶
func NewJsonReader() jsonEventReader
NewJsonReader creates a new instance of jsonReader.
Types ¶
type EventReader ¶
type EventReader interface {
ReadAddEventRequest(reader io.Reader, ctx *context.Context) ([]dto.AddEventRequest, error)
}
EventReader unmarshals a request body into an Event type
func NewEventRequestReader ¶
func NewEventRequestReader() EventReader
NewRequestReader returns a BodyReader capable of processing the request body
Click to show internal directories.
Click to hide internal directories.