MCPcopy Create free account
hub / github.com/cli/cli / withAccessToken

Function withAccessToken

internal/codespaces/connection/tunnels_api_server_mock.go:276–280  ·  view source on GitHub ↗
(accessToken string)

Source from the content-addressed store, hash-verified

274}
275
276func withAccessToken(accessToken string) func(*relayServer) {
277 return func(server *relayServer) {
278 server.accessToken = accessToken
279 }
280}
281
282func (rs *relayServer) URL() string {
283 return rs.httpServer.URL

Callers 1

NewMockHttpClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected