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 MongoUpdateFromJSONPatch(patches *[]JSONPatch, now *time.Time) (bson.A, error)
- func NewMongoAdminClient(ctx context.Context, env string) (*mongo.Client, *string, error)
- func NewPusherClient(stage *string) (*pusher.Client, error)
- func RandomString(size int, small, cap, digit bool) string
- type JSONPatch
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
func MongoUpdateFromJSONPatch ¶ added in v1.0.10
func NewMongoAdminClient ¶ added in v1.0.1
func RandomString ¶ added in v1.0.15
Types ¶
Click to show internal directories.
Click to hide internal directories.