Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
client
command
|
|
|
server
command
|
|
|
internal
|
|
|
cmd
Package cmd builds the sonar client CLI command tree on top of service.Service using spf13/cobra directly — no cmdx.
|
Package cmd builds the sonar client CLI command tree on top of service.Service using spf13/cobra directly — no cmdx. |
|
modules/api/apimodels
Package apimodels holds the request payload types for the api HTTP API.
|
Package apimodels holds the request payload types for the api HTTP API. |
|
service/remotesvc
Package remotesvc implements service.Service by talking to an api server over HTTP.
|
Package remotesvc implements service.Service by talking to an api server over HTTP. |
|
pkg
|
|
|
batcher
Package batcher batches items by key with a growing window.
|
Package batcher batches items by key with a growing window. |
|
dnsx
Based on github.com/miekg/dns/serve_mux.go
|
Based on github.com/miekg/dns/serve_mux.go |
|
netx
Package netx provides a TCP server that runs a Handler per connection, plus connection middleware and wrappers.
|
Package netx provides a TCP server that runs a Handler per connection, plus connection middleware and wrappers. |
|
ratelimit
Package ratelimit provides a per-IP token bucket rate limiter keyed by /32 for IPv4 and /64 for IPv6.
|
Package ratelimit provides a per-IP token bucket rate limiter keyed by /32 for IPv4 and /64 for IPv6. |
|
smtpx
based on https://github.com/DusanKasan/parsemail
|
based on https://github.com/DusanKasan/parsemail |
|
valid
Package valid provides declarative, type-safe struct validation.
|
Package valid provides declarative, type-safe struct validation. |
|
workerpool
Package workerpool provides a generic buffered worker pool: items submitted via Submit are fanned out across a fixed number of worker goroutines, each running the handler.
|
Package workerpool provides a generic buffered worker pool: items submitted via Submit are fanned out across a fixed number of worker goroutines, each running the handler. |
Click to show internal directories.
Click to hide internal directories.