Documentation
¶
Index ¶
- func ApplyJsonPatch(original interface{}, patchBody string, result interface{}) error
- func GetSNSStringAttribute(attribute interface{}) (string, error)
- func GetSSMParameter(env, name string, decryption bool) (*string, error)
- func HTTPErrorResponse(status int, request *events.APIGatewayProxyRequest, err error) *events.APIGatewayProxyResponse
- func HTTPResponse(status int, request *events.APIGatewayProxyRequest, body interface{}) *events.APIGatewayProxyResponse
- func NewMongoAdminClient(ctx context.Context, env string) (*mongo.Client, *string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyJsonPatch ¶ added in v1.0.9
func GetSNSStringAttribute ¶
func HTTPErrorResponse ¶ added in v1.0.3
func HTTPErrorResponse(status int, request *events.APIGatewayProxyRequest, err error) *events.APIGatewayProxyResponse
func HTTPResponse ¶ added in v1.0.8
func HTTPResponse(status int, request *events.APIGatewayProxyRequest, body interface{}) *events.APIGatewayProxyResponse
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.