Move the SRS proxy server code from the standalone repository https://github.com/ossrs/proxy into the proxy/ directory of the main SRS repo. Also update build instructions in origin-cluster.md.
19 lines
257 B
Go
19 lines
257 B
Go
// Copyright (c) 2025 Winlin
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
package main
|
|
|
|
import (
|
|
"context"
|
|
"os"
|
|
|
|
"proxy/internal/bootstrap"
|
|
)
|
|
|
|
func main() {
|
|
bs := bootstrap.NewBootstrap()
|
|
if err := bs.Start(context.Background()); err != nil {
|
|
os.Exit(-1)
|
|
}
|
|
}
|