Skip to content

Golang 开发工具

COSMOPlat PaaS平台提供了 Go 语言的开发工具,供开发者使用。

golang-websocket

Gorilla WebSocket is a Go implementation of the WebSocket protocol.The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable.
Gorilla WebSocket是WebSocket协议的Go实现。Gorilla WebSocket包提供了WebSocket协议的完整且经过测试的实现,且该API稳定。

下载地址

golang进度条-progress bar

Simple progress bar for console programs & Custom Progress Bar Look-and-feel.
progress bar是golang控制台程序的简单进度条工具,可自定义多个进度条外观。

下载地址

golang-context

gorilla/context is a general purpose registry for global request variables.
Gorilla/Context是用于全局请求变量的通用注册表。

下载地址

golang-SecureCookie

securecookie encodes and decodes authenticated and optionally encrypted cookie values.Secure cookies can't be forged, because their values are validated using HMAC. When encrypted, the content is also inaccessible to malicious eyes. It is still recommended that sensitive data not be stored in cookies, and that HTTPS be used to prevent cookie replay attacks.
SecureCookie编码和解码经过身份验证的和可选加密的cookie值。安全cookie不能被伪造,因为它们的值是使用hmac验证的。加密后,恶意用户也无法访问内容。仍然建议不要将敏感数据存储在cookie中,并使用https来防止cookie重播攻击。

下载地址

golang INI文件解析

Package ini provides INI file read and write functionality in Go.
package ini在go语言中提供ini文件读写功能。

下载地址

golang-schema

Package gorilla/schema converts structs to and from form values.
golang-schema可以实现将结构转换为形态值或从形态值转换为结构值。

下载地址

golang RS纠删码

Reed-Solomon Erasure Coding in Go, with speeds exceeding 1GB/s/cpu core implemented in pure Go.
Reed Solomon擦除编码在Go中,实现速度超过1Gb/s/核。

下载地址

golang-beego

beego is used for rapid development of RESTful APIs, web apps and backend services in Go. It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.
Beego用于在Go中快速开发RESTful API、Web应用程序和后端服务。它的灵感来自Tornado, Sinatra和Flask。Beego有一些特定的特性,比如接口和结构嵌入。

下载地址

golang-feeds

feeds is a web feed generator library for generating RSS, Atom and JSON feeds from Go applications.
feeds是一个Web提要生成器库,用于从Go应用程序生成RSS、Atom和JSON提要。

下载地址

golang-mux

The name mux stands for "HTTP request multiplexer". Like the standard http.ServeMux, mux.Router matches incoming requests against a list of registered routes and calls a handler for the route that matches the URL or other conditions.
mux是“http请求多路复用器”。与标准http.servemux一样,mux.router根据已注册路由列表匹配传入请求,并调用与URL或其他条件匹配的路由的处理程序。

下载地址

golang-rpc

gorilla/rpc is a foundation for RPC over HTTP services, providing access to the exported methods of an object through HTTP requests.
rpc是一个基于http服务的RPC工具,通过HTTP请求提供对对象的导出方法的访问

下载地址

golang-buffalo

A Go web development eco-system, designed to make your life easier.Buffalo helps you to generate a web project that already has everything from front-end (JavaScript, SCSS, etc.) to the back-end (database, routing, etc.) already hooked up and ready to run. From there it provides easy APIs to build your web application quickly in Go.
Buffalo生成一个Web项目,该项目从前端(javascript、scss等)到后端(数据库、路由等)都已连接并准备运行。从那里,它提供了简单的API来快速构建Web应用程序。

下载地址