Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorResponse ¶
func ErrorResponse(err error, statusCode int) (events.APIGatewayProxyResponse, error)
Types ¶
type ApiGatewayManagementAPI ¶
func NewApiGatewayManagementApi ¶
func NewApiGatewayManagementApi(APIID, stage string) (ApiGatewayManagementAPI, error)
type ApiGatewayManagementAPIImpl ¶
type ApiGatewayManagementAPIImpl struct {
// contains filtered or unexported fields
}
func (*ApiGatewayManagementAPIImpl) PostToConnection ¶
func (a *ApiGatewayManagementAPIImpl) PostToConnection(connectionID, body string) error
type Connection ¶
type DB ¶
type DynamoDB ¶
type DynamoDB struct {
// contains filtered or unexported fields
}
func (DynamoDB) ConnectionsTable ¶
func (DynamoDB) RoomsTable ¶
type DynamoTable ¶
type DynamoTable struct {
// contains filtered or unexported fields
}
func (DynamoTable) Delete ¶
func (t DynamoTable) Delete(column string, key interface{}) error
func (DynamoTable) FindOne ¶
func (t DynamoTable) FindOne(column string, key, out interface{}) error
func (DynamoTable) Put ¶
func (t DynamoTable) Put(item interface{}) error
Click to show internal directories.
Click to hide internal directories.