MCPcopy
hub / github.com/PatchMon/PatchMon / strOrNil

Function strOrNil

server-source-code/internal/handler/oidc.go:607–612  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

605}
606
607func strOrNil(s string) *string {
608 if s == "" {
609 return nil
610 }
611 return &s
612}
613
614// Logout handles GET /api/v1/auth/oidc/logout.
615func (h *OidcHandler) Logout(w http.ResponseWriter, r *http.Request) {

Callers 2

ImportFromEnvMethod · 0.85
applyOidcSettingsUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected