Esempio n. 1
0
func (t *Hbs) GetExpressions(req model.NullRpcRequest, reply *model.ExpressionResponse) error {
	reply.Expressions = cache.ExpressionCache.Get()

	debug := g.Config().Debug
	if debug {
		log.Printf("[DEBUG] GetExpressions args is %v, reply is %v", req, reply)
	}
	return nil
}
Esempio n. 2
0
func (t *Hbs) GetExpressions(req model.NullRpcRequest, reply *model.ExpressionResponse) error {
	reply.Expressions = cache.ExpressionCache.Get()
	return nil
}