access-tracker

command module
v0.0.0-...-0a9b7e3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 5 Imported by: 0

README

codecov

access-tracker

Access tracking

How To Use

Create tracking
POST https://access-tracker-nwu7rw5hea-an.a.run.app/u
Content-Type: application/x-www-form-urlencoded

redirect=https://example.com
{
  "track_id": "fdd6b450fd",
  "access_key": "88664dd2981526f89895ddb37c313f4b59f83dbc57591d3ff9e6eaeb9d3a408f",
  "redirect_url": "https://example.com"
}
Access Tracking url
GET https://access-tracker-nwu7rw5hea-an.a.run.app/[id]/
Show Access Histories
GET https://access-tracker-nwu7rw5hea-an.a.run.app/u?id=[id]&key=[key]
[
  {
    "unique_id": "63dbd5e1d954937fa420910aa3f7ac3af6bff1f8031279fc825c76c6bbb733c3",
    "ip": "172.0.0.1",
    "time": "2021-10-27T05:06:51.916374Z"
  }
]
Delete Tracking url
DELETE https://access-tracker-nwu7rw5hea-an.a.run.app/u?id=[id]&key=[key]

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
core
tests
ハッシュ生成 Example: seed := "hoge" seed2 := "fuga" hash := NewHash(seed) hash = hash.AddSeed(seed2) fmt.Println(hash.SHA256()) fmt.Println(hash.SHA256Byte()) ID, UUIDを生成します。
ハッシュ生成 Example: seed := "hoge" seed2 := "fuga" hash := NewHash(seed) hash = hash.AddSeed(seed2) fmt.Println(hash.SHA256()) fmt.Println(hash.SHA256Byte()) ID, UUIDを生成します。
net
返すレスポンスを統一します。
返すレスポンスを統一します。

Jump to

Keyboard shortcuts

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