Documentation
¶
Overview ¶
Package commands cmd/dmsg/dmsghttp/commands/dmsghttp.go c1-net-dmsg
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: dmsgclient.ExecName(), Short: "DMSG http file server", Long: calvin.AsciiFont("dmsghttp") + ` DMSG http file server`, SilenceErrors: true, SilenceUsage: true, DisableSuggestions: true, DisableFlagsInUseLine: true, Version: buildinfo.Version(), Run: func(_ *cobra.Command, _ []string) { server() }, }
RootCmd contains the root dmsghttp command
Functions ¶
Types ¶
type GinHandler ¶
GinHandler is handler for gin on dmsg http sever
func (*GinHandler) ServeHTTP ¶
func (h *GinHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.