Files
sonr/app/proxy/command.go
T

23 lines
429 B
Go
Raw Normal View History

2024-09-25 19:45:28 -04:00
package proxy
import (
"github.com/spf13/cobra"
)
func NewProxyCmd() *cobra.Command {
return &cobra.Command{
Use: "dwn-proxy",
Short: "Starts the DWN proxy server for the local IPFS node",
RunE: func(cmd *cobra.Command, args []string) error {
2024-09-25 19:45:28 -04:00
// Load config
2024-09-25 22:47:00 -04:00
// c, err := LoadConfig(".")
// if err != nil {
// return err
// }
// log.Printf("Config: %+v", c)
startServer()
return nil
2024-09-25 19:45:28 -04:00
},
}
}