Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tags - a go app to handle tags generically

pipeline

This go app provides a simple api to save "tags" in json format. Use it for example to count pageviews of your website.

Example

Save the following tag by calling the /create endpoint of the go app with this payload:

{
  uri: "/the/uri/of/the/subpage",
  some: "other",
  info: "mations",
  foo: "bar"
}

Later you can count tags by csalling the /count endpoint with the following payload:

{
  uri: "/the/uri/of/the/subpage"
}

// or if you want more specific tags:
{
  uri: "/the/uri/of/the/subpage",
  foo: "bar"
}

Both json payloads above would match the saved tag. The following tag would not match:

// this would NOT match
{
  uri: "/the/uri/of/the/subpage",
  unknown: "property"
}

About

tags - a go app to handle tags generically

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages