🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

github.com/piplos/stream-tools

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/piplos/stream-tools

v0.1.2
Source
Go
Version published
Created
Source

CodeFactor

stream-tools

Requests:

/ping - Pings the server for availability, useful for Docker health checks. On a successful response, it will print "ping".

/stream/play - displays what is currently playing. Request parameters:
url - stream link (mandatory)

/stream/status - отображает статус стрима. Request parameters:
url - stream link (mandatory)
duration - stream idle time (optional, default 10)
volume - stream sound level (optional, default -70.0)

Response:

The response will return with one of the HTTP statuses - 200, 400, 500 and JSON in the form:

{
  "code": int,
  "message": string
}

code - duplicate http response status code
message - message body

FAQs

Package last updated on 17 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts