/bee

bee: a toy go web framework

Primary LanguageGo

Bee Web Framework

Bee is a golang toy web framework for building web applications, written by Go. Bee's core features include:

  • Routing.
  • Templates.
  • Middleware.
  • Recover.
  • Utilities.

updating and perfecting...

BeeCache

BeeCache is a mini implement of groupCache.It implements the core features of the distribute cache, including:

  • Use LRU algorithm to disuse the least visited record.
  • Single-machine concurrent cache.
  • Http Server.
  • Consistent hashing algorithm.
  • Distributed cache node.
  • SingleFlight.
  • Use Protobuf in the communication between the node.

BeeORM

BeeORM is a mini implement of xorm(And learn some code from gorm). It implements the core features of the ORM, including:

  • Logger.
  • Creation, Deletion of the table.
  • Primary key.
  • Crud operation of the record.
  • Hooks.
  • Transaction.
  • Migration of the table.

BeeRPC

BeeRPC is a mini implement of rpc library of std lib net/rpc. It implements the core features of the RPC, including:

  • Protocol Exchange.
  • Registry.
  • Timeout Processing.
  • Service Discovery.
  • Load Balance.
  • More Features.

updating and perfecting...