canvas
fortio
canvas | fortio | |
---|---|---|
1 | 1 | |
26 | 3,170 | |
- | 0.7% | |
0.0 | 8.4 | |
over 1 year ago | 24 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
canvas
-
Best practices regarding init function and small CLI apps
I usually have my main function be very scriptlike, with all the setup code, env vars and such in the beginning, and then starting whatever needs to be started. I think that's fine. See an example from some of my code here: https://github.com/golangdk/canvas/blob/newsletter-email/cmd/server/main.go
fortio
What are some alternatives?
viper - Go configuration with fangs
buffstreams - A library to simplify writing applications using TCP sockets to stream protobuff messages
HTTPLab - The interactive web server
ether - A Go package for sending and receiving ethernet frames. Currently supporting Linux, Freebsd, and OS X.
grab - A download manager package for Go
gosnmp - An SNMP library written in Go
VncProxy - An RFB proxy, written in go that can save and replay FBS files
fasthttp - Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
gobetween - :cloud: Modern & minimalistic load balancer for the Сloud era
gopacket - Provides packet processing capabilities for Go
httpproxy - HTTP proxy handler and dialer
gotcp - A Go package for quickly building tcp servers