MCPcopy Index your code
hub / github.com/coder/coder / String

Method String

tailnet/configmaps.go:789–795  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

787type derpMapStringer tailcfg.DERPMap
788
789func (d *derpMapStringer) String() string {
790 out, err := json.Marshal((*tailcfg.DERPMap)(d))
791 if err != nil {
792 return fmt.Sprintf("!!!error marshaling DERPMap: %s", err.Error())
793 }
794 return string(out)
795}

Callers 1

prefixesDifferentFunction · 0.45

Calls 2

MarshalMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected