MCPcopy
hub / github.com/caddyserver/caddy / Equal

Method Equal

admin_test.go:62–65  ·  view source on GitHub ↗
(x crypto.PublicKey)

Source from the content-addressed store, hash-verified

60type testAdminPublicKey string
61
62func (k testAdminPublicKey) Equal(x crypto.PublicKey) bool {
63 other, ok := x.(testAdminPublicKey)
64 return ok && k == other
65}
66
67func TestUnsyncedConfigAccess(t *testing.T) {
68 // each test is performed in sequence, so

Callers 11

enforceAccessControlsMethod · 0.45
changeConfigFunction · 0.45
handlePingbackConnFunction · 0.45
watchConfigFileFunction · 0.45
FuzzFormatFunction · 0.45
FormatFunction · 0.45
FormattingDifferenceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected