event

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PushMessage

type PushMessage struct {
	SessionID string
	Msg       *entity.Event
}

PushMessage はPusherで送信するメッセージを表します。

type Pusher

type Pusher interface {
	Push(pushMsg *PushMessage)
}

Pusher はイベントを対応したセッションIDに向けて送信するインターフェースです。

Jump to

Keyboard shortcuts

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