Skip to content

Commit

Permalink
Make proto
Browse files Browse the repository at this point in the history
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
  • Loading branch information
darkodraskovic committed Feb 22, 2021
1 parent 69f3508 commit 9e34ce7
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 14 deletions.
65 changes: 52 additions & 13 deletions auth.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions bootstrap/mocks/things.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ func (svc *mainfluxThings) CanAccessByID(context.Context, string, string) error
panic("not implemented")
}

func (svc *mainfluxThings) IsChannelOwner(context.Context, string, string) error {
panic("not implemented")
}

func (svc *mainfluxThings) Identify(context.Context, string) (string, error) {
panic("not implemented")
}
Expand Down
4 changes: 4 additions & 0 deletions http/mocks/things.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ func (tc thingsClient) CanAccessByID(context.Context, *mainflux.AccessByIDReq, .
panic("not implemented")
}

func (tc thingsClient) IsChannelOwner(context.Context, *mainflux.ChannelOwnerReq, ...grpc.CallOption) (*empty.Empty, error) {
panic("not implemented")
}

func (tc thingsClient) Identify(ctx context.Context, req *mainflux.Token, opts ...grpc.CallOption) (*mainflux.ThingID, error) {
panic("not implemented")
}
5 changes: 4 additions & 1 deletion pkg/messaging/message.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions readers/mocks/things.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ func (svc thingsServiceMock) CanAccessByID(context.Context, *mainflux.AccessByID
panic("not implemented")
}

func (svc thingsServiceMock) IsChannelOwner(context.Context, *mainflux.ChannelOwnerReq, ...grpc.CallOption) (*empty.Empty, error) {
panic("not implemented")
}

func (svc thingsServiceMock) Identify(context.Context, *mainflux.Token, ...grpc.CallOption) (*mainflux.ThingID, error) {
panic("not implemented")
}

0 comments on commit 9e34ce7

Please sign in to comment.