Git Product home page Git Product logo

knmr's Introduction

knmr

knmr - Command Line Utility written in Go

DESCRIPTION

knmr is command-line interface tool in Go.

INSTALLATION

Build from source

$ go get github.com/Ken2mer/knmr
$ go install github.com/Ken2mer/knmr

EXAMPLES

knmr agent
  • every 3s tick until signal receive

The knmr agent command has an '-d' option for debug output.

knmr -d agent
  • log output in DEBUG level

CONTRIBUTION

  1. Fork (https://github.com/ken2mer/knmr/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create new Pull Request

TODO

Implementation of loadConfig

  • use TOML parser

cf. TOML parser
BurntSushi/toml: TOML parser for Golang with reflection.

As a library

  • go-libs
  • Go client libraries for using third-party APIs

cf. awesome-go#third-party-apis
avelino/awesome-go: A curated list of awesome Go frameworks, libraries and software

Additional functions

  • auth, login
  • upload, postFile
  • session

cf. LearnServerProgramming · golang/go Wiki

cf. Custom Handlers and Avoiding Globals in Go Web Applications · request / response

  • How to build your own handler type
  • How to explicitly pass a “context” containing our database pool, template map, a custom logger, ...

knmr's People

Contributors

ken2mer avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.