accessctl

package
v0.0.0-...-dba4764 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2015 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UARegex string = "(Mozilla|Opera)"
	Re      *regexp.Regexp
)

Functions

func IsUA

func IsUA(ua string) bool

Types

type Counter

type Counter struct {
	// contains filtered or unexported fields
}

func NewCounter

func NewCounter(config string) (*Counter, error)

func (*Counter) Clean

func (c *Counter) Clean()

func (*Counter) Listall

func (c *Counter) Listall() (list []string)

func (*Counter) Push

func (c *Counter) Push(value string) error

func (*Counter) PushUA

func (c *Counter) PushUA(ua string) error

Jump to

Keyboard shortcuts

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