Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HTMLTemplates = []string{
"landing/index.tmpl",
"alias.tmpl",
"change-member-password.tmpl",
"invite/consumed.tmpl",
"invite/facade.tmpl",
"invite/facade-fallback.tmpl",
"invite/insert-id.tmpl",
"notice/list.tmpl",
"notice/show.tmpl",
"error.tmpl",
}
Functions ¶
func New ¶
func New( logger logging.Interface, repo repo.Interface, netInfo network.ServerEndpointDetails, roomState *roomstate.Manager, roomEndpoints network.Endpoints, bridge *signinwithssb.SignalBridge, dbs Databases, ) (http.Handler, error)
New initializes the whole web stack for rooms, with all the sub-modules and routing.
Types ¶
type Databases ¶
type Databases struct {
Aliases roomdb.AliasesService
AuthFallback roomdb.AuthFallbackService
AuthWithSSB roomdb.AuthWithSSBService
Config roomdb.RoomConfig
DeniedKeys roomdb.DeniedKeysService
Invites roomdb.InvitesService
Notices roomdb.NoticesService
Members roomdb.MembersService
PinnedNotices roomdb.PinnedNoticesService
}
Databases is an options stuct for the required databases of the web handlers
Source Files
¶
Click to show internal directories.
Click to hide internal directories.