Giter VIP home page Giter VIP logo

lipog's Projects

chatroom icon chatroom

《Go 语言编程之旅:一起用 Go 做项目》 第四章:聊天室

ef icon ef

Event Framework, implemented the coroutine scheduling based on IO events. Support poll, epoll, event port and kqueue.

filebrowser icon filebrowser

📂 Web File Browser which can be used as a middleware or standalone app.

golang_runtime_reading icon golang_runtime_reading

golang 1.10.2 runtime code reading - golang runtime源码分析。只有思考过,你才会印象深刻。

ratelimit icon ratelimit

Efficient token-bucket-based rate limiter package.

vcache icon vcache

支持特性有: 单机缓存和基于 HTTP 的分布式缓存 最近最少访问(Least Recently Used, LRU) 缓存策略 使用 Go 锁机制防止缓存击穿 使用一致性哈希选择节点,实现负载均衡 使用 protobuf 优化节点间二进制通信

vin icon vin

这是一个参考Gin风格的自己写的Web框架 (1)以net/http包为基础,通过实现ServeHTTP来接管请求,实现对请求的一系列处理 (2)引入了上下文实例Context,从而接管请求的w和r,并简化路由的注册以及响应 (3)以静态路由为基础,在实现静态路由的基础上,通过前缀树(Trie)来实现动态路由,诸如/hello/:name,或者/hello/*filepath (4)实现了动态路由以后,引入了路由组的概念,将路由分组,便于管理 (5)在路由组的基础上,添加了中间件的功能,从而拓展框架的功能。通过上下文实例Context,在处理请求路由的函数之前,先执行中间件函数再执行请求函数,主要是其中的Next()函数起作用。 (6)其他功能有待完善...

vlog icon vlog

这是一个自己搭建的简单的日志框架(库),没有依赖log库完成,可以向指定的文件,写入从DEBUG,TRACE,INFO,WARNING,ERROR,FATAL等级别的日志,并且可以指定输入的级别,并且可以指定日志的大小,达到阈值时进行分割

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.