remote-config

command module
v0.0.0-...-d808c9b Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 5 Imported by: 0

README ยถ

Remote config Auth Server

๐Ÿ“š Tech Stack

  • Go
  • Gingonic
  • MySQL
  • Redis
  • Docker
  • Travis CI
  • Deepsource Go

๐Ÿ“„ API Spec

Config
Token ์กฐํšŒ
GET /v1/config?store_id=hackingrowth

Status Code: 200

Response

{
"store_id": "hackinggrowth",
"token": "ab12cbf123ff2",
"tracker_type": "mixpanel"
"inserted_at": "2022-01-01T00:00:00.00Z",
"updated_at": "2022-01-01T00:00:00.00Z",
}
Token ๋“ฑ๋ก
POST /v1/config

Body
{
"token": "ab12cbf123ff2",
"tracker_type": "mixpanel",
"store_id": "hackinggrowth"
}

Status Code: 201
Token ์—…๋ฐ์ดํŠธ
[PUT|PATCH] /v1/config?store_id=hackingrowth

Body
{
"token": "ab12cbf123ff3",
"tracker_type": "mixpanel"
}

Status Code: 200

Response

{
"store_id": "hackinggrowth",
"token": "ab12cbf123ff3",
"tracker_type": "mixpanel"
"inserted_at": "2022-01-01T00:00:00.00Z",
"updated_at": "2022-01-01T00:00:00.00Z",
}
Token ์‚ญ์ œ
DELETE /v1/config?store_id=hackingrowth

Status Code: 204
Script tag ์„ค์น˜
GET /v1/scripttag?store_id=hackingrowth?tracker_type=mixpanel

Status Code: 200
Auth
Login
POST /v1/login

Status Code: 201
Logout
DELETE /v1/logout

Status Code: 201

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis
v1

Jump to

Keyboard shortcuts

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