Documentation ¶
Index ¶
- func CreateDynamoDBClient(region string, endpoint string) (*dynamodb.DynamoDB, error)
- func CreateUser(userName string, passWd string) (map[string]interface{}, int)
- func DeleteUser(userName string)
- func GetDynamoDBClient() *dynamodb.DynamoDB
- func GetTableName() string
- func Signin(userName string, passWd string) (map[string]interface{}, int)
- func ValidateUsername(userName string, passWd string, checkExisted bool) (map[string]interface{}, bool)
- type RequestUser
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDynamoDBClient ¶
func DeleteUser ¶
func DeleteUser(userName string)
func GetDynamoDBClient ¶
func GetTableName ¶
func GetTableName() string
Types ¶
type RequestUser ¶
func (RequestUser) GetPasswd ¶
func (reqUser RequestUser) GetPasswd() string
func (RequestUser) GetUserName ¶
func (reqUser RequestUser) GetUserName() string
Click to show internal directories.
Click to hide internal directories.