MCPcopy Index your code
hub / github.com/foxcpp/maddy / Table

Struct Table

internal/testutils/table.go:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21import "context"
22
23type Table struct {
24 M map[string]string
25 Err error
26}
27
28func (m Table) Lookup(_ context.Context, a string) (string, bool, error) {
29 b, ok := m.M[a]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected