func HandleGetInput(
	user *graylog.User, lgc *logic.Logic,
	w http.ResponseWriter, r *http.Request, ps httprouter.Params,
) (interface{}, int, error) {
	// GET /system/inputs/{inputID} Get information of a single input on this node
	id := ps.ByName("inputID")
	if sc, err := lgc.Authorize(user, "inputs:read", id); err != nil {
		return nil, sc, err
	}
	return lgc.GetInput(id)
}
// HandleGetInput is the handler of Get an Input API.
HandleGetInput is the handler of Get an Input API.
// HandleGetInput is the handler of Get an Input API .
func HandleGetInput(
	user *graylog.User, lgc *logic.Logic,
	w http.ResponseWriter, r *http.Request, ps httprouter.Params,
) (interface{}, int, error) {
	id := ps.ByName("inputID")
	if sc, err := lgc.Authorize(user, "inputs:read", id); err != nil {
		return nil, sc, err
	}
	return lgc.GetInput(id)
}
func HandleGetInput ( user * graylog . User , lgc * logic . Logic , w http . ResponseWriter , r * http . Request , ps httprouter . Params , ) ( interface { } , int , error ) { id := ps . ByName ( " " ) if sc , err := lgc . Authorize ( user , " " , id ) ; err != nil { return nil , sc , err } return lgc . GetInput ( id ) }
HandleGetInput is the handler of Get an Input API.
HandleGetInput is the handler of Get an Input API .
// GET /system/inputs/{inputID} Get information of a single input on this node