push

package
v0.0.0-...-5c68377 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityTypeName

type EntityTypeName string

type Message

type Message interface {
	GetType() EntityTypeName
	GetData() interface{}
}

type Service

type Service struct {
	ss.NoCopyImpl
	// contains filtered or unexported fields
}

func NewService

func NewService(db ddb.Client) *Service

func (*Service) Push

func (service *Service) Push(
	user ss.UserID,
	newMessage func() Message,
	log ss.LogStream,
)

func (*Service) Sync

func (service *Service) Sync(log ss.LogStream)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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