github.com/myra-security-gmbh/go-upload-client

Commandline client for Myra PushCDN


Keywords
cdn, commandline, golang, myra, uploader
License
MIT
Install
go get github.com/myra-security-gmbh/go-upload-client

Documentation

go-upload-client

Client is used to upload files to Myra's PushCDN. In order to use this client you need to be a customer of Myra.

Build

Requirements

Generate

glide install
make

Configuration

The client requires a configuration file to operate. Please see the example:

endpoint: http://upload.myracloud.com
language: en
proxy: "socks5://localhost:8080"

login:
    user: user1
    apikey: deadbeef1fbd41116fe98bbeeeeeeeef
    secret: deadaef1fbd41116fe98beefabc14142

If you do not use a proxy leave the field empty. To get the login data you need to contact Myra Support.

The client will lookup the config in the following order:

  • Config given via commandline flag
  • $HOME/config.yml
  • ./config.yml

Usage

See help for usage instructions.

./myra-upload --help