peercast-yayp

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

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 8 Imported by: 0

README

PeerCast YAYP

PeerCast Yet Another Yellow Pages (仮)

概要

Goで書かれたシンプルなPeerCast YPサーバです。

YP4Gと比べて、以下の機能がありません。

  • ポートチェック
  • 帯域チェック
  • 名前空間
  • チャット機能

ビルド方法

dep ensure -v
go build -v -a -o bin/yayp

Dockerを使う場合

docker build --squash -t peercast-yayp .

動作には MySQL と PeerCast が必要です。

PeerCastの設定

Root Modeで起動して、いい感じに設定してください。(よく知りません)

  • Server -> Mode : Root

  • Root Mode -> Host Update (sec) : 120(default)

    YP4Gのreadme.txtには60に設定とあった。 実装を調べると、この間隔でPCP_ROOTパケットを投げて、root情報の更新とトラッカーにPCP_BCSTパケット送信を促すのをやっている。 なんだけど、そもそもPeerCastStationではPCP_ROOTパケットは破棄するので、今では重要な設定値ではない。

MySQLの設定

docker-compose/sql にスキーマなどがあります。

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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