MCPcopy Index your code
hub / github.com/go-dev-frame/sponge / mockTLSer

Struct mockTLSer

pkg/httpsrv/http_test.go:127–130  ·  view source on GitHub ↗

mockTLSer is a mock implementation of TLSer for testing

Source from the content-addressed store, hash-verified

125
126// mockTLSer is a mock implementation of TLSer for testing
127type mockTLSer struct {
128 validateError error
129 runError error
130}
131
132func (m *mockTLSer) Validate() error {
133 return m.validateError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected