go-core-package

module
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2020 License: Apache-2.0

README

go-core-package

GoDoc Go.Dev reference Build Status codecov Action Status Go Report Card License Tag

Feature

Reference package

  • meter storage metering,like B,KB,MB,GB,TB,PB,EB
  • container collection container
  • wheel time wheel library, which similar linux time wheel
  • timing time scheduler

Third party base package

  • go-humanize Go Humans! (formatters for units to human friendly sizes)
  • atomic Wrapper types for sync/atomic which enforce atomic access
  • multierr Combine one or more Go errors together
  • cast safe and easy casting from one type to another in Go
  • archiver Easily create & extract archives, and compress & decompress files of various formats
  • inflection Pluralizes and singularizes English nouns
  • compress Optimized compression packages
  • strcase A golang package for converting to snake_case or CamelCase
  • color Color package for Go

Reference web

  • render render extract from gin,but with optional build tags,useful for net/http or embedded systems,reduce program size
  • binding binding extract from gin,but with optional build tags,useful for net/http or embedded linux systems,reduce program size
  • gin-middlewares middleware for Gin
  • http-middlewares middleware for net/http
  • user_agent HTTP User Agent parser for the Go programming language.

other

  • ants ants is a high-performance and low-cost goroutine pool in Go

Directories

Path Synopsis
_example
Package extbase64 extend base64
Package extbase64 extend base64
Package extimg extend image
Package extimg extend image
extio
flow
Package flow 实现字节统计,读,写,读写统计,以字节为准.
Package flow 实现字节统计,读,写,读写统计,以字节为准.
Package extmath extend math
Package extmath extend math
Package extnet extend network
Package extnet extend network
connection/cbuffered
Package cbuffered 实现读缓冲的net.conn接口
Package cbuffered 实现读缓冲的net.conn接口
connection/ccrypt
Package ccrypt 实现net.conn的加密conn接口 aes cfb加密码的连接,通过提供的配置使用pbkdf2生成key, 依靠key和hash生成iv
Package ccrypt 实现net.conn的加密conn接口 aes cfb加密码的连接,通过提供的配置使用pbkdf2生成key, 依靠key和hash生成iv
connection/cencrypt
Package cencrypt 实现加密的net.conn接口
Package cencrypt 实现加密的net.conn接口
connection/cflow
Package cflow 实现字节统计,读,写,读写统计,以字节为准.
Package cflow 实现字节统计,读,写,读写统计,以字节为准.
connection/cgzip
Package cgzip 采用gzip压缩实现的net.conn接口
Package cgzip 采用gzip压缩实现的net.conn接口
connection/ciol
Package ciol 实现 net.conn 网络io限速器接口
Package ciol 实现 net.conn 网络io限速器接口
connection/csnappy
Package csnappy 采用snappy压缩实现的net.conn接口
Package csnappy 采用snappy压缩实现的net.conn接口
connection/czlib
Package czlib 采用zlib压缩实现的net.conn接口
Package czlib 采用zlib压缩实现的net.conn接口
Package extos base tool Package extos base tool
Package extos base tool Package extos base tool
Package extrand extend rand
Package extrand extend rand
Package gopool 提供一个协程池接口
Package gopool 提供一个协程池接口
internal
mock
Package mock simulate a net.Conn with io.ReadWriter
Package mock simulate a net.Conn with io.ReadWriter
lib
algo
Package algo implement common api
Package algo implement common api
bpool
Package bpool Provides bpool buffer pool
Package bpool Provides bpool buffer pool
encrypt
Package encrypt implement common encrypt and decrypt for stream
Package encrypt implement common encrypt and decrypt for stream
ternary
Package ternary implement like condition ? trueVal : falseVal
Package ternary implement like condition ? trueVal : falseVal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL