Refactor MDM service to return a payload from check-ins (#764)

* Refactor MDM service to return a payload from check-ins

* Documented public methods, add documentation to main service interface

* Remove interface-implementing comments
This commit is contained in:
Jesse Peterson
2021-07-01 16:13:39 -07:00
committed by GitHub
parent 1dfa0a8fd0
commit 4e684a40d2
5 changed files with 32 additions and 23 deletions

View File

@@ -58,7 +58,7 @@ func (mw removeMiddleware) Acknowledge(ctx context.Context, req mdm.AcknowledgeE
return mw.next.Acknowledge(ctx, req)
}
func (mw removeMiddleware) Checkin(ctx context.Context, req mdm.CheckinEvent) error {
func (mw removeMiddleware) Checkin(ctx context.Context, req mdm.CheckinEvent) ([]byte, error) {
return mw.next.Checkin(ctx, req)
}