MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / MustGet

Method MustGet

cmd/cql-proxy/model/session.go:213–216  ·  view source on GitHub ↗

MustGet returns the value with specified key in session object.

(key string)

Source from the content-addressed store, hash-verified

211
212// MustGet returns the value with specified key in session object.
213func (s *Session) MustGet(key string) (value interface{}) {
214 value, _ = s.Get(key)
215 return
216}
217
218// MustGetInt returns the int value with specified key in session object.
219func (s *Session) MustGetInt(key string) (value int64) {

Callers 9

GetDBFunction · 0.80
userSessionInjectFunction · 0.80
getRulesManagerFunction · 0.80
getSessionFunction · 0.80
getAdminAuthFunction · 0.80
getTaskManagerFunction · 0.80
getConfigFunction · 0.80
getCurrentProjectFunction · 0.80
adminSessionInjectFunction · 0.80

Calls 1

GetMethod · 0.95

Tested by

no test coverage detected