Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJsonDeviceServiceReader ¶
func NewJsonDeviceServiceReader() jsonDeviceServiceReader
NewJsonDeviceServiceReader creates a new instance of jsonDeviceServiceReader
func NewJsonReader ¶
func NewJsonReader() jsonDeviceProfileReader
NewJsonReader creates a new instance of jsonReader.
Types ¶
type DeviceProfileReader ¶
type DeviceProfileReader interface { ReadDeviceProfileRequest(reader io.Reader, ctx *context.Context) ([]dto.DeviceProfileRequest, errors.EdgeX) ReadDeviceProfileYaml(r *http.Request) (dtos.DeviceProfile, errors.EdgeX) }
DeviceProfileReader unmarshals a request body into an DeviceProfile type
func NewDeviceProfileRequestReader ¶
func NewDeviceProfileRequestReader() DeviceProfileReader
NewRequestReader returns a BodyReader capable of processing the request body
type DeviceServiceReader ¶
type DeviceServiceReader interface {
ReadAddDeviceServiceRequest(reader io.Reader, ctx *context.Context) ([]dtoRequest.AddDeviceServiceRequest, errors.EdgeX)
}
DeviceServiceReader unmarshals a request body into an array of DeviceService type
func NewDeviceServiceRequestReader ¶
func NewDeviceServiceRequestReader() DeviceServiceReader
NewRequestReader returns a BodyReader capable of processing the request body
Click to show internal directories.
Click to hide internal directories.