mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-27 13:48:49 +08:00

* NOISSSUE - Fix users CLI Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix README Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * use Mainflux entities Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Mv ConnectionIDs to requests Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
17 lines
448 B
Go
17 lines
448 B
Go
// Copyright (c) Mainflux
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package sdk
|
|
|
|
// UserPasswordReq contains old and new passwords
|
|
type UserPasswordReq struct {
|
|
OldPassword string `json:"old_password,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
}
|
|
|
|
// ConnectionIDs contains ID lists of things and channels to be connected
|
|
type ConnectionIDs struct {
|
|
ChannelIDs []string `json:"channel_ids"`
|
|
ThingIDs []string `json:"thing_ids"`
|
|
}
|