Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/1Panel-dev/KubePi
/ Validate
Method
Validate
thirdparty/gotty/server/options.go:147–152 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
145
}
146
147
func
(ro *RedisOptions) Validate() error {
148
if
ro.UseRedisTokenCache ==
"true"
&& ro.Addr ==
""
{
149
return
errors.New(
"redis addr must not be null"
)
150
}
151
return
nil
152
}
Callers
1
main
Function · 0.95
Calls
1
New
Method · 0.65
Tested by
no test coverage detected