Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTLSConfig ¶
DefaultTLSConfig returns a tls.Config object with system default security restrictions This is from gtank's cryptopasta defaults https://github.com/gtank/cryptopasta
func LookupHost ¶
LookupHost looks up the given host using etcd or the local resolver. It returns an array of that host's addresses See LookupHost in packages chain/net/etcdname and net for more.
Types ¶
type Dialer ¶
Dialer satisfies the interface pq.Dialer, using chain/net/etcdname for hostname lookups in addition to the local resolver.
Directories ¶
Path | Synopsis |
---|---|
http
|
|
authz
Package authz is a generated protocol buffer package.
|
Package authz is a generated protocol buffer package. |
httperror
Package httperror defines the format for HTTP error responses from Chain services.
|
Package httperror defines the format for HTTP error responses from Chain services. |
httpjson
Package httpjson creates HTTP handlers to map request and response formats onto Go function signatures.
|
Package httpjson creates HTTP handlers to map request and response formats onto Go function signatures. |
reqid
Package reqid creates request IDs and stores them in Contexts.
|
Package reqid creates request IDs and stores them in Contexts. |
static
Package static provides a handler for serving static assets from an in-memory map.
|
Package static provides a handler for serving static assets from an in-memory map. |
Package raft provides raft coordination.
|
Package raft provides raft coordination. |
Click to show internal directories.
Click to hide internal directories.