Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJsonNotificationReader ¶
func NewJsonNotificationReader() jsonNotificationReader
NewJsonNotificationReader creates a new instance of jsonNotificationReader
func NewJsonSubscriptionReader ¶
func NewJsonSubscriptionReader() jsonSubscriptionReader
NewJsonSubscriptionReader creates a new instance of jsonSubscriptionReader
Types ¶
type NotificationReader ¶
type NotificationReader interface {
ReadAddNotificationRequest(reader io.Reader) ([]dtoRequest.AddNotificationRequest, errors.EdgeX)
}
NotificationReader unmarshals a request body into an array of Notification type
func NewNotificationRequestReader ¶
func NewNotificationRequestReader() NotificationReader
NewNotificationRequestReader returns a BodyReader capable of processing the request body
type SubscriptionReader ¶
type SubscriptionReader interface { ReadAddSubscriptionRequest(reader io.Reader) ([]dtoRequest.AddSubscriptionRequest, errors.EdgeX) ReadUpdateSubscriptionRequest(reader io.Reader) ([]dtoRequest.UpdateSubscriptionRequest, errors.EdgeX) }
SubscriptionReader unmarshals a request body into an array of Subscription type
func NewSubscriptionRequestReader ¶
func NewSubscriptionRequestReader() SubscriptionReader
NewRequestReader returns a BodyReader capable of processing the request body
Click to show internal directories.
Click to hide internal directories.