Skip to content
forked from mervinkid/matcha

Allspark is a basic library of go language which include a lot of commonly used functions that make development simply.

License

Notifications You must be signed in to change notification settings

LeeYubo/allspark

 
 

Repository files navigation

Allspark

Build License MIT

     _    _ _                      _    
    / \  | | |___ _ __   __ _ _ __| | __
   / _ \ | | / __| '_ \ / _` | '__| |/ /
  / ___ \| | \__ \ |_) | (_| | |  |   < 
 /_/   \_\_|_|___/ .__/ \__,_|_|  |_|\_\

Introduction

Allspark is a basic library of go language which include a lot of commonly used functions that make development simply.

Components

  • Double indexes byte buffer ByteBuf.
  • Event driven and pipelined tcp framework include both server and client.
  • Some frame decoder and frame encoder for pipelined tcp framework.
  • Goroutine wrapper with status tracking support.
  • Scheduler for task scheduling execution. Support fixed delay policy, fixed rate policy and corntab expression.
  • Infra interface definitions and helper methods.
  • BitSet data structure implementation.
  • APIs for configuration file loading. Support JSON,YAML and property file.
  • Abstract logger for logging.

Installation

Install:

$ go get -u github.com/mervinkid/allspark

Development

Allspark use dep for dependency management. To install dependencies make sure to dep have been installed in user system then typing following command.

$ dep ensure

User Case

Contributing

  1. Fork it.
  2. Create your feature branch. ($ git checkout feature/my-feature-branch)
  3. Commit your changes. ($ git commit -am 'What feature I just added.')
  4. Push to the branch. ($ git push origin feature/my-feature-branch)
  5. Create a new Pull Request

Author

@Mervin

License

The MIT License (MIT). For detail see LICENSE.

About

Allspark is a basic library of go language which include a lot of commonly used functions that make development simply.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%