MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / newConfig

Function newConfig

proxy_test.go:1181–1190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1179}
1180
1181func newConfig() *config.Config {
1182 newCfg := *goodCfg
1183 newCfg.Users = []config.User{
1184 {
1185 Name: defaultUsername,
1186 MaxConcurrentQueries: rand.Uint32(),
1187 },
1188 }
1189 return &newCfg
1190}
1191
1192func bbToString(t *testing.T, r io.Reader) string {
1193 response, err := io.ReadAll(r)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected