Categorygithub.com/wooheet/remote-config
modulepackage
0.0.0-20220523065608-d808c9b523b2
Repository: https://github.com/wooheet/remote-config.git
Documentation: pkg.go.dev

# 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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author