Documentation ¶
Index ¶
- Variables
- func CreateUser(req events.APIGatewayProxyRequest, tableName string, ...) (*events.APIGatewayProxyResponse, error)
- func DeleteUser(req events.APIGatewayProxyRequest, tableName string, ...) (*events.APIGatewayProxyResponse, error)
- func GetUser(req events.APIGatewayProxyRequest, tableName string, ...) (*events.APIGatewayProxyResponse, error)
- func UnhandledMethod() (*events.APIGatewayProxyResponse, error)
- func UpdateUser(req events.APIGatewayProxyRequest, tableName string, ...) (*events.APIGatewayProxyResponse, error)
- type ErrorBody
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorMethodNotAllowed = "method not allowed"
Functions ¶
func CreateUser ¶
func CreateUser(req events.APIGatewayProxyRequest, tableName string, dynaClient dynamodbiface.DynamoDBAPI) ( *events.APIGatewayProxyResponse, error, )
func DeleteUser ¶
func DeleteUser(req events.APIGatewayProxyRequest, tableName string, dynaClient dynamodbiface.DynamoDBAPI) ( *events.APIGatewayProxyResponse, error, )
func GetUser ¶
func GetUser(req events.APIGatewayProxyRequest, tableName string, dynaClient dynamodbiface.DynamoDBAPI) ( *events.APIGatewayProxyResponse, error, )
func UnhandledMethod ¶
func UnhandledMethod() (*events.APIGatewayProxyResponse, error)
func UpdateUser ¶
func UpdateUser(req events.APIGatewayProxyRequest, tableName string, dynaClient dynamodbiface.DynamoDBAPI) ( *events.APIGatewayProxyResponse, error, )
Types ¶
Click to show internal directories.
Click to hide internal directories.