ui/token.go
func (t *SimpleToken) Check(s string) bool {
	t.mtx.RLock()
	defer t.mtx.RUnlock()
	return s == t.token
}
func (t *SimpleToken) Check(s string) bool {
	t.mtx.RLock()
	defer t.mtx.RUnlock()
	return s == t.token
}
func ( t * SimpleToken ) Check ( s string ) bool { t . mtx . RLock ( ) defer t . mtx . RUnlock ( ) return s == t . token }
// Check returns true if given string matches stored.
Check returns true if given string matches stored .