Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var App = &cli.App{ Name: "snaparser_server", Suggest: true, Version: "0.0.1", Authors: []*cli.Author{{Name: "vanillaiice", Email: "vanillaiice1@proton.me"}}, Usage: "backend server for snaparser", Flags: flags, Before: altsrc.InitInputSourceWithContext(flags, altsrc.NewTomlSourceFromFlagFunc("load")), Action: action, }
App represents the CLI application for running the snaparser server.
Functions ¶
func UploadHandler ¶
func UploadHandler(w http.ResponseWriter, r *http.Request)
UploadHandler handles the HTTP POST request for uploading and parsing a file.
Types ¶
Click to show internal directories.
Click to hide internal directories.