rpc

package
v0.0.0-...-c229084 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventService

type EventService struct {
	// contains filtered or unexported fields
}

EventService is a service server for message processing

func NewEventService

func NewEventService(cc container.Container) *EventService

NewEventService create a new message service

func (*EventService) Push

Push add a new message

type HeartbeatService

type HeartbeatService struct {
	// contains filtered or unexported fields
}

HeartbeatService is a service server for heartbeat

func NewHeartbeatService

func NewHeartbeatService(cc container.Container) *HeartbeatService

func (*HeartbeatService) Ping

type ServiceProvider

type ServiceProvider struct{}

func (ServiceProvider) Boot

func (p ServiceProvider) Boot(app infra.Glacier)

func (ServiceProvider) Daemon

func (p ServiceProvider) Daemon(_ context.Context, app infra.Glacier)

func (ServiceProvider) Register

func (p ServiceProvider) Register(app container.Container)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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