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

Method Read

cli/sessionstore/sessionstore.go:29–29  ·  view source on GitHub ↗

Read returns the session token for the given server URL or an error, if any. It will return os.ErrNotExist if no token exists for the given URL.

(serverURL *url.URL)

Source from the content-addressed store, hash-verified

27 // Read returns the session token for the given server URL or an error, if any. It
28 // will return os.ErrNotExist if no token exists for the given URL.
29 Read(serverURL *url.URL) (string, error)
30 // Write stores the session token for the given server URL.
31 Write(serverURL *url.URL, token string) error
32 // Delete removes the session token for the given server URL or an error, if any.

Callers 15

generateBadJWTFunction · 0.65
TestWatchChatsFunction · 0.65
TestPatchChatFunction · 0.65
randRemoteAddrFunction · 0.65
dispatchMethod · 0.65
MarshalED25519PrivateKeyFunction · 0.65

Calls

no outgoing calls

Tested by 15

generateBadJWTFunction · 0.52
TestWatchChatsFunction · 0.52
TestPatchChatFunction · 0.52
randRemoteAddrFunction · 0.52