Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReceivedDataCreate ¶
type ReceivedDataCreate struct { UID string `json:"uid"` Password string `json:"password"` User client.User `json:"user"` }
ReceivedDataCreate defines the expected data structure to be received as a response when calling the method Create(...) of RedisManager interface
type ReceivedDataDelete ¶
type ReceivedDataDelete struct { UID string `json:"uid"` Password string `json:"password"` UserToBeDeleted string `json:"username"` }
ReceivedDataDelete defines the expected data structure to be received as a response when calling the method Delete(...) of RedisManager interface
type ReceivedDataLogin ¶
ReceivedDataLogin defines the expected data structure to be received as a response when calling the method Login(...) of RedisManager interface
type ReceivedDataRefresh ¶
type ReceivedDataRefresh struct {
RefreshToken []byte `json:"refreshtoken"`
}
ReceivedDataRefresh defines the expected data structure to be received as a response when calling the method Refresh(...) of RedisManager interface
type ReceivedDataUpdate ¶
type ReceivedDataUpdate struct { UID string `json:"uid"` Password string `json:"password"` UserToBeUpdated string `json:"username"` NewPassword string `json:"userpassword"` }
ReceivedDataUpdate defines the expected data structure to be received as a response when calling the method Update(...) of RedisManager interface