MCPcopy
hub / github.com/fabiolb/fabio / String

Method String

route/table.go:547–549  ·  view source on GitHub ↗

String returns the routing table as config file which can be read by Parse() again.

()

Source from the content-addressed store, hash-verified

545// String returns the routing table as config file which can
546// be read by Parse() again.
547func (t Table) String() string {
548 return strings.Join(t.config(false), "\n")
549}
550
551// Dump returns the routing table as a detailed
552func (t Table) Dump() string {

Callers 15

startServersFunction · 0.45
watchBackendFunction · 0.45
logRoutesFunction · 0.45
serviceRegistrationFunction · 0.45
TestExitFunction · 0.45
AddRoutesMethod · 0.45
DeleteRoutesMethod · 0.45
convertMsgFieldsFunction · 0.45
TestHostRedirectFunction · 0.45
TestPathRedirectFunction · 0.45
testProxyLogOutputFunction · 0.45

Calls 1

configMethod · 0.95

Tested by 11

TestExitFunction · 0.36
TestHostRedirectFunction · 0.36
TestPathRedirectFunction · 0.36
testProxyLogOutputFunction · 0.36
TestProxyTCPAndHTTPSFunction · 0.36
TestTableLookupIssue448Function · 0.36
TestTableLookupFunction · 0.36
TestNewTableCustomFunction · 0.36
makeRoutesFunction · 0.36
TestIssue57Function · 0.36