Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/koding/kite
/ types & classes
Types & classes
124 in github.com/koding/kite
⨍
Functions
619
◇
Types & classes
124
↓ 4 callers
FuncType
closerFunc
func() []error
kite.go:531
↓ 2 callers
FuncType
callback
func(*Partial)
dnode/callback.go:49
↓ 1 callers
FuncType
functionReceived
functionReceived is a type implementing caller interface. It is used to set the Function when a callback function is received.
dnode/callback.go:58
Struct
Args
dnode/scrubber_test.go:8
Struct
ArgumentError
ArgumentError is returned when received message contains invalid arguments.
dnode/errors.go:30
Struct
Auth
Authentication is used when connecting a Client.
client.go:188
Struct
Auth
protocol/protocol.go:122
Struct
CachedStorage
CachedStorage caches the requests that are going to backend and tries to lower the load on the backend
kontrol/keypair.go:144
Struct
Callback
kite_test.go:281
Struct
CallbackNotFoundError
CallbackNotFoundError is returned when there is no registered callback for received message.
dnode/errors.go:20
Struct
CallbackSpec
CallbackSpec is a structure encapsulating a Function and it's Path. It is the type of the values in callbacks map.
dnode/callback.go:66
Struct
Case
dnode/scrub_test.go:9
Struct
Client
Client is the client for communicating with another Kite. It has Tell() and Go() methods for calling methods sync/async way.
client.go:38
Struct
Config
kontrol/helper_test.go:21
Struct
Config
examples/math/config.go:27
Struct
Config
Options is passed to kite.New when creating new instance.
config/config.go:27
Struct
DialOptions
DialOptions are used to overwrite default behavior of the websocket session. Deprecated: Use *config.Config struct instead for configuring SockJS con
sockjsclient/sockjsclient.go:92
Struct
ErrClose
ErrClose is returned by the Close function, when the argument passed to it was a slice of kites.
kite.go:449
Struct
ErrSession
ErrSession is returned by Send/Recv methods when the underlying session state change is responsible for the failure.
sockjsclient/sockjsclient.go:37
Struct
Error
Error is the type of the kite related errors returned from kite package.
errors.go:15
Struct
Etcd
Etcd implements the Storage interface
kontrol/etcd.go:30
Struct
Event
kontrol/_watcher.go:13
Struct
Extractor
Extractor is used to extract kontrol key from JWT token.
kitekey/kitekey.go:104
FuncType
FinalFunc
FinalFunc represents a proxy function that is called last in the method call chain, regardless whether whole call chained succeeded with non-nil error
method.go:46
Struct
Function
Function is the type for sending and receiving functions in dnode messages.
dnode/callback.go:9
Struct
GetKitesArgs
protocol/protocol.go:146
Struct
GetKitesResult
protocol/protocol.go:163
Struct
GetTokenArgs
GetTokenArgs is a request value for the "getToken" kontrol method.
protocol/protocol.go:153
Interface
Handler
Objects implementing the Handler interface can be registered to a method. The returned result must be marshalable with json package.
method.go:29
FuncType
HandlerFunc
HandlerFunc is a type adapter to allow the use of ordinary functions as Kite handlers. If h is a function with the appropriate signature, HandlerFunc(
method.go:36
Struct
HelloKite
kontrol/helper_test.go:88
TypeAlias
HelloKites
kontrol/helper_test.go:253
Struct
IdLock
kontrol/idlock.go:5
Struct
Install
kitectl/command/install.go:21
Struct
InstalledKite
kitectl/command/list.go:113
Struct
KeyPair
KeyPair represents PEM encoded RSA key pair.
kitetest/kitetest.go:18
Struct
KeyPair
KeyPair defines a single key pair entity
kontrol/keypair.go:12
Interface
KeyPairStorage
KeyPairStorage is responsible of managing key pairs
kontrol/keypair.go:40
Struct
KeysAPILogger
kontrol/etcd_keysapi_logger.go:10
Struct
Kite
Kite defines a single process that enables distributed service messaging amongst the peers it is connected. A Kite process acts as a Client and as a S
kite.go:54
Struct
Kite
Kite is the base struct containing the public fields. It is usually embedded in other structs, including the db model. The access model is in the form
protocol/protocol.go:17
TypeAlias
KiteAction
protocol/protocol.go:185
Struct
KiteClaims
KiteClaims represents JWT token claims extended with kontrolKey claim.
kitekey/kitekey.go:23
Struct
KiteEvent
KiteEvent is the struct that is sent as an argument in watchCallback of getKites method of Kontrol.
protocol/protocol.go:176
Struct
KiteKey
KiteKey represents JWT token used in kite authentication, also known as kite.key.
kitetest/kitetest.go:25
Struct
KiteWithToken
protocol/protocol.go:167
TypeAlias
Kites
Kites is a helpe type to work with a set of kites
kontrol/kites.go:12
Struct
Kontrol
kontrol/kontrol.go:57
Struct
Kontrol
kontrol/kontrol/main.go:17
Struct
KontrolQuery
KontrolQuery is a structure of message sent to Kontrol. It is used for querying kites based on the incoming field parameters. Missing fields are not c
protocol/protocol.go:197
TypeAlias
Level
logger.go:10
Struct
List
kitectl/command/list.go:14
Interface
Logger
Logger is the interface used to log messages in different levels.
logger.go:24
Struct
MemKeyPairStorage
kontrol/keypair.go:80
Struct
Message
Message is the JSON object to call a method at the other side.
dnode/message.go:7
Struct
Method
Method defines a method and the Handler it is bind to. By default "ReturnMethod" handling is used.
method.go:50
TypeAlias
MethodHandling
MethodHandling defines how to handle chaining of kite.Handler middlewares. An error breaks the chain regardless of what handling is used. Note that al
method.go:14
Struct
MethodNotFoundError
MethodNotFoundError is returned when there is no registered handler for received method.
dnode/errors.go:9
Struct
Node
Node is a wrapper around an etcd node to provide additional functionality around kites.
kontrol/node.go:15
Struct
OnceEvery
OnceEvery is an object that will perform exactly one action every given interval.
kontrol/onceevery/onceevery.go:10
Struct
Partial
Partial is the type of "arguments" field in dnode.Message.
dnode/partial.go:11
TypeAlias
Path
Path represents a callback function's path in the arguments structure. Contains mixture of string and integer values.
dnode/callback.go:74
Struct
Payload
Payload is the content of `payload` in the json
protocol/webrtc.go:29
Struct
Postgres
kontrol/postgres.go:36
Struct
PostgresConfig
Postgres holds Postgresql database related configuration
kontrol/postgres.go:27
Struct
PrivateKite
PrivateKite
tunnelproxy/proxy.go:269
Struct
Proxy
reverseproxy/reverseproxy.go:25
Struct
Proxy
tunnelproxy/proxy.go:31
Struct
Query
kitectl/command/query.go:14
Struct
Register
kitectl/command/register.go:15
Struct
RegisterArgs
RegisterArgs is used as the function argument to the Kontrol's register method.
protocol/protocol.go:116
Struct
RegisterResult
RegisterResult is a response to Register request from Kite to Kontrol.
protocol/protocol.go:129
Struct
RegisterValue
RegisterValue is the type of the value that is saved to etcd.
kontrol/etcd.go:294
Struct
RegisterValue
RegisterValue is the type of the value that is saved to the storage
kontrol/protocol/protocol.go:4
Struct
Request
Request contains information about the incoming request.
request.go:20
Struct
Request
examples/math/config.go:10
Struct
Response
Response is the type of the object that is returned from request handlers and the type of only argument that is passed to callback functions.
request.go:56
Struct
Run
kitectl/command/run.go:13
Struct
Scrubber
dnode/scrubber.go:5
Struct
SessionReadWriteCloser
tunnelproxy/tunnel.go:62
Struct
Showkey
kitectl/command/showkey.go:36
Interface
Storage
Storage is an interface to a kite storage. A storage should be safe to concurrent access.
kontrol/storage.go:10
Struct
T
dnode/scrub_test.go:60
Struct
Tell
kitectl/command/tell.go:14
Struct
TokenExtractor
TokenExtractor is used to extract kite ID from the given JWT token.
kitetest/kitetest.go:138
Struct
TokenRenewer
TokenRenewer renews the token of a Client just before it expires.
tokenrenewer.go:20
TypeAlias
Transport
Transport defines the underlying transport to be used
config/transport.go:4
Struct
Tunnel
tunnelproxy/tunnel.go:10
Struct
Uninstall
kitectl/command/uninstall.go:13
Struct
WebRTCSignalMessage
WebRTCSignalMessage represents a signalling message between peers and the singalling server
protocol/webrtc.go:17
Struct
WebsocketSession
WebsocketSession represents a sockjs.Session over a websocket connection.
sockjsclient/sockjsclient.go:74
Struct
WhoResult
protocol/protocol.go:159
Struct
XHRSession
XHRSession implements sockjs.Session with XHR transport.
sockjsclient/xhr.go:31
Struct
cachedToken
kontrol/kontrol.go:528
Struct
callOptions
callOptions is the type of first argument in the dnode message. It is used when unmarshalling a dnode message.
client.go:170
Struct
callOptionsOut
callOptionsOut is the same structure with callOptions. It is used when marshalling a dnode message.
client.go:180
Interface
caller
dnode/callback.go:13
Struct
disk
systeminfo/systeminfo.go:27
Struct
doResult
sockjsclient/xhr.go:310
Struct
fakeReader
sockjsclient/xhr_test.go:13
next →
1–100 of 124, ranked by callers