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

Method MustGetBool

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

MustGetBool returns the bool value with specified key in session object.

(key string)

Source from the content-addressed store, hash-verified

235
236// MustGetBool returns the bool value with specified key in session object.
237func (s *Session) MustGetBool(key string) (value bool) {
238 value, _ = s.GetBool(key)
239 return
240}
241
242// Set stores value to session object.
243func (s *Session) Set(key string, value interface{}) {

Callers 2

userCheckRequireLoginFunction · 0.80
adminCheckFunction · 0.80

Calls 1

GetBoolMethod · 0.95

Tested by

no test coverage detected