package
0.0.0-20180710021347-baa1a54919e3
Repository: https://github.com/koding/kite.git
Documentation: pkg.go.dev
# Functions
getQueryKey returns the etcd key for the query.
New creates a new kontrol instance with the given version and config instance, and the default kontrol handlers.
NewCachedStorage creates a new CachedStorage.
No description provided by the author
New returns a new IdLock.
No description provided by the author
No description provided by the author
No description provided by the author
New returns a new initialized node with the given etcd node.
No description provided by the author
NewWithoutHandlers creates a new kontrol instance with the given version and config instance, but *without* the default handlers.
# Variables
DefaultPort is a default kite port value.
ErrKeyDeleted is returned by Storage methods when requested key pair is no longer valid because it was deleted.
No description provided by the author
No description provided by the author
HeartbeatDelay is the compensation interval which is added to the heartbeat to avoid network delays.
HeartbeatInterval is the interval in which kites are sending heartbeats.
KeyTLL is the timeout in which a key expires.
TokenLeeway - implementers MAY provide for some small leeway, usually no more than a few minutes, to account for clock skew.
TokenTTL - identifies the expiration time after which the JWT MUST NOT be accepted for processing.
UpdateInterval is the interval in which the key gets updated periodically.
# Structs
CachedStorage caches the requests that are going to backend and tries to lower the load on the backend.
Etcd implements the Storage interface.
No description provided by the author
KeyPair defines a single key pair entity.
No description provided by the author
No description provided by the author
No description provided by the author
Node is a wrapper around an etcd node to provide additional functionality around kites.
No description provided by the author
Postgres holds Postgresql database related configuration.
RegisterValue is the type of the value that is saved to etcd.
# Interfaces
KeyPairStorage is responsible of managing key pairs.
Storage is an interface to a kite storage.
# Type aliases
Kites is a helpe type to work with a set of kites.