hooker_old

command module
v0.0.0-...-016906c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2017 License: MIT Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Hooker

Tool for easy s3 sftp file management

Hooker

Installation

go get github.com/m1ome/hooker

Usage

Usage of hooker:
  -check int
        Interval in seconds of file check (default 180)
  -clear
        Clear file after send (default true)
  -dir string
        Directory we should look for a new files (default "(CWD)")
  -interval int
        Time in seconds to sleep between checks (default 60)
  -out string
        Directory we should place zip files into (default "(CWD)")
  -patterns string
        Patterns we look files in directory (seperated by: ,) (default ".xml; .xlsx")
  -sep string
        Pattern separator (default ",")
  -timeout int
        Timeout waiting request from API (default 180)
  -token string
        Auth token for API
  -url string
        URL of reports API (default "http://localhost:3000/")
  -v    Verbose output
  -zip
        Zip file (default true)

Request [POST]

Body: gzipped data

Headers:

X-Access-Token: <TOKEN_HERE>
X-File-Name: GPS-CPSbalexp20170325.xml
Content-Encoding: gzip

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址