rpc

package
v0.0.0-...-4963dd4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 19 Imported by: 1

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 infra.Resolver) *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 infra.Resolver) *HeartbeatService

func (*HeartbeatService) Ping

type Provider

type Provider struct{}

func (Provider) Boot

func (p Provider) Boot(app infra.Resolver)

func (Provider) Daemon

func (p Provider) Daemon(_ context.Context, app infra.Resolver)

func (Provider) Register

func (p Provider) Register(app infra.Binder)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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