service

package
v0.0.0-...-02cf16a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2015 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRoomService

func CreateRoomService(
	roomStore interfaces.RoomStore,
	aliasStore interfaces.AliasStore,
	memberStore interfaces.MembershipStore,
	eventSink interfaces.EventSink,
	profileProvider interfaces.ProfileProvider,
	typingSink interfaces.TypingEventSink,
	typingProvider interfaces.TypingProvider,
) (interfaces.RoomService, error)

func CreateTokenService

func CreateTokenService() (interfaces.TokenService, error)

func CreateUserService

func CreateUserService(
	users interfaces.UserStore,
) (interfaces.UserService, error)

func NewEventService

func NewEventService(
	messageSource interfaces.IndexedEventSource,
	presenceSource interfaces.IndexedEventSource,
	typingSource interfaces.IndexedEventSource,
	asyncEventSource interfaces.AsyncEventSource,
	eventProvider interfaces.EventProvider,
	membershipStore interfaces.MembershipStore,
) (interfaces.EventService, error)

func NewPresenceService

func NewPresenceService(
	presenceProvider interfaces.PresenceProvider,
	presenceEventSink interfaces.PresenceEventSink,
) (interfaces.PresenceService, error)

func NewSyncService

func NewSyncService(
	messageSource interfaces.IndexedEventSource,
	presenceSource interfaces.IndexedEventSource,
	typingSource interfaces.IndexedEventSource,
	rooms interfaces.RoomStore,
	membershipStore interfaces.MembershipStore,
) (interfaces.SyncService, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL