Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TypeMap map[string]reflect.Type
TypeMap stores a list of messages types and provides a way to deserialize messages
Functions ¶
Types ¶
type AuthControl ¶
type AuthControl struct {
Token string
}
AuthControl is sent by the client to create and authenticate a new session
type AuthTunnel ¶
AuthTunnel is sent by the client to create and authenticate a tunnel connection
type Envelope ¶
type Envelope struct { Type string Payload json.RawMessage }
Envelope is a wrapper struct used to encode message types as they are serialized to JSON
type OpenTunnel ¶
type OpenTunnel struct {
ClientID string
}
OpenTunnel is sent by server to the client to request a new Tunnel connection
type Ping ¶
type Ping struct{}
Ping is sent to request a Pong response and check the liveness of the connection
type Release ¶
type Release struct { ID string `redis:"id,omitempty"` Branch string `redis:"branch,omitempty"` Description string `redis:"description,omitempty"` VCSType string `redis:"vcs_type,omitempty"` VCSRevision string `redis:"vcs_revision,omitempty"` VCSRevisionMessage string `redis:"vcs_revision_message,omitempty"` VCSRevisionTime time.Time `redis:"vcs_revision_time,omitempty"` VCSRevisionAuthorName string `redis:"vcs_revision_author_name,omitempty"` VCSRevisionAuthorEmail string `redis:"vcs_revision_author_email,omitempty"` }
Release contains basic VCS (e.g. git) information about the running version of client server
Click to show internal directories.
Click to hide internal directories.