location

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2021 License: MIT Imports: 2 Imported by: 1

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{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL