Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker checks an endpoint to verify it returns a proverb.
func NewChecker ¶
func NewChecker(hc httpClient, ddb ddbPutter) *Checker
NewChecker returns a new Checker.
func (*Checker) Handle ¶
func (c *Checker) Handle(ctx context.Context, request *events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
Handle handles the request.
type Handler ¶
type Handler struct { }
Handler handles incoming request.
func (*Handler) Handle ¶
func (h *Handler) Handle(ctx context.Context, request *events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
Handle handles the request.
Click to show internal directories.
Click to hide internal directories.