Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config contains the configuration values for ExoSocket instances
func NewConfigFromEnv ¶
func NewConfigFromEnv() Config
NewConfigFromEnv returns a Config object based on environment variables
type ExoSocket ¶
type ExoSocket struct {
// contains filtered or unexported fields
}
ExoSocket is the low level API to Exocom
func NewExoSocket ¶
NewExoSocket returns an ExoSocket with the given config
func (*ExoSocket) GetMessageChannel ¶
GetMessageChannel returns a channel which can be used read incoming messages
type MessageOptions ¶
type MessageOptions struct { Name string Payload structs.MessagePayload ActivityID string Auth structs.MessageAuth IsSecurity bool }
MessageOptions contains the user input values for a message
Click to show internal directories.
Click to hide internal directories.