Go API Documentation

No package summary is available.

Package


Tests

Files: 1. Third party imports: 0. Imports from organisation: 0. Tests: 0. Benchmarks: 3.

Types

accessLogTestCase

accessLogTestCase defines the test inputs.

Field name Field type Comment
name

string

No comment on field.
hashKeys

bool

No comment on field.
accessLogsEnabled

bool

No comment on field.
statusCode

int

No comment on field.
type accessLogTestCase struct {
	name			string
	hashKeys		bool
	accessLogsEnabled	bool
	statusCode		int
}

Benchmark functions

BenchmarkAccessLog

References: gateway.APISpec, gateway.BuildAPI, http.StatusOK, testing.B.

BenchmarkAccessLog_Errors

References: http.StatusNotFound, testing.B.

Benchmark

References: test.TestCase.