Documentation
¶
Overview ¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEndpoint ¶
type MockEndpoint interface {
Path() string
GetRequiredScopes(method string) []string
ValidMethod(string) bool
ServeHTTP(w http.ResponseWriter, r *http.Request)
}
MockEndpoint is an implementation of an endpoint in the API; this enables the quick building of new endpoints with minimal additional logic
Click to show internal directories.
Click to hide internal directories.