Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSessionNotFound = errors.New("session not found")
ErrSessionNotFound error
Functions ¶
Types ¶
type SRClient ¶ added in v0.2.1
type SRClient interface { CheckSession(apiKey string) (string, error) DeleteSession(apiKey string) error NewSession(user map[string]interface{}, sessionID string) (string, error) AddSubscription(apiKey, connID, uri string, extra interface{}) error DeleteConnection(apiKey, connID string) error DeleteSubscription(apiKey, connID, uri string) error }
Click to show internal directories.
Click to hide internal directories.