mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
- **feat(macaroon): add and to macaroon genesis** - **refactor: move schema definitions to dedicated file** - **feat: remove Session model** - **refactor: move session middleware to internal package**
19 lines
334 B
Go
19 lines
334 B
Go
package commands
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
|
|
"github.com/onsonr/sonr/cmd/hway/server"
|
|
)
|
|
|
|
func NewStartCmd() *cobra.Command {
|
|
return &cobra.Command{
|
|
Use: "start",
|
|
Short: "Starts the DWN proxy server for the local IPFS node",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
s := server.New()
|
|
s.Start()
|
|
},
|
|
}
|
|
}
|