mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-11-03 10:51:12 +08:00
main.go修改为demo实例
This commit is contained in:
17
main.go
Normal file
17
main.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/Monibuca/clusterplugin"
|
||||
. "github.com/Monibuca/engine"
|
||||
_ "github.com/Monibuca/gatewayplugin"
|
||||
_ "github.com/Monibuca/jessicaplugin"
|
||||
_ "github.com/Monibuca/logrotateplugin"
|
||||
_ "github.com/Monibuca/recordplugin"
|
||||
_ "github.com/Monibuca/rtmpplugin"
|
||||
_ "github.com/Monibuca/rtspplugin"
|
||||
)
|
||||
|
||||
func main() {
|
||||
Run("config.toml")
|
||||
select {}
|
||||
}
|
||||
Reference in New Issue
Block a user