mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 07:45:30 +00:00
17 lines
258 B
Go
17 lines
258 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
"github.com/GopeedLab/gopeed/cmd"
|
|
"github.com/GopeedLab/gopeed/pkg/rest/model"
|
|
)
|
|
|
|
func main() {
|
|
cfg := &model.StartConfig{
|
|
Network: "tcp",
|
|
Address: "127.0.0.1:9999",
|
|
Storage: model.StorageBolt,
|
|
}
|
|
cmd.Start(cfg)
|
|
}
|