common-job

module
v0.0.0-...-da86336 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT

README

Vspo Job Service

Description

Youtube/Twitch/Twitcasting live stream update cron service.

alt text

alt text

ER

Getting Started

$ make local
# 8080: API
# 5432: Postgres
# Other: Migration

$ curl --location 'http://localhost:8080/cron/videos' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-api-key: {{apiKey}}' \
--data '{
  "platform_type": [
    "youtube"
  ],
  "period": "month",
  "video_type": "vspo_stream"
}'

Endpoints

OpenAPI

Directories

Path Synopsis
api
domain
repository/mock
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
twitcasting/mock
Package mock_twitcasting is a generated GoMock package.
Package mock_twitcasting is a generated GoMock package.
twitch/mock
Package mock_twitch is a generated GoMock package.
Package mock_twitch is a generated GoMock package.
youtube/mock
Package mock_youtube is a generated GoMock package.
Package mock_youtube is a generated GoMock package.
infra
cmd
http/cron/internal/gen
Code generated by ogen, DO NOT EDIT.
Code generated by ogen, DO NOT EDIT.
pkg
test

Jump to

Keyboard shortcuts

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