Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "authy", Short: "a authentication server", Long: `An authentication server which provides signed JSON web token to its users.`, Run: func(cmd *cobra.Command, args []string) { addr := viper.GetString("http-address") storageURI := viper.GetString("storage") privateKey := viper.GetString("private-key") publicKey := viper.GetString("public-key") log.Fatal(http.Serve(addr, storageURI, nil, privateKey, publicKey)) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.