io

package
v1.2.2-dev.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

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, errors.EdgeX)
}

EventReader unmarshals a request body into an Event type

func NewEventRequestReader

func NewEventRequestReader() EventReader

NewRequestReader returns a BodyReader capable of processing the request body

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL