package
0.0.0-20230628221007-3ba3d4600f42
Repository: https://github.com/matrix-org/go-neb.git
Documentation: pkg.go.dev
# Functions
BaseURL sets the base URL of NEB to the url given.
CreateAuthRealm creates an AuthRealm of the given type and realm ID.
CreateService creates a Service of the given type and serviceID.
NewDefaultService creates a new service with implementations for ServiceID(), ServiceType() and ServiceUserID().
PollingServiceTypes returns a list of service types which meet the Poller interface.
RegisterAuthRealm registers a factory for creating AuthRealm instances.
RegisterService registers a factory for creating Service instances.
# Structs
BotOptions for a given bot user in a given room.
No description provided by the author
A Command is something that a user invokes by sending a message starting with '!' followed by a list of strings that name the command, followed by a list of argument strings.
DefaultService NO-OPs the implementation of optional Service interface methods.
An Expansion is something that actives when the user sends any message containing a string matching a given pattern.
No description provided by the author
# Interfaces
AuthRealm represents a place where a user can authenticate themselves.
AuthSession represents a single authentication session between a user and an auth realm.
MatrixClient represents an object that can communicate with a Matrix server in certain ways that services require.
Poller represents a thing which can poll.
A Service is the configuration for a bot service.