Documentation ¶
Overview ¶
Define location variables from client ip So you should import package that defines ip var, e.g. "github.com/techxmind/vars/request" Variables:
country, province, city
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VariableLocation ¶
type VariableLocation struct {
// contains filtered or unexported fields
}
func (*VariableLocation) Cacheable ¶
func (v *VariableLocation) Cacheable() bool
func (*VariableLocation) Name ¶
func (v *VariableLocation) Name() string
func (*VariableLocation) Value ¶
func (v *VariableLocation) Value(ctx *core.Context) interface{}
Click to show internal directories.
Click to hide internal directories.