mock_api

package
v1.1.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL