module

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(ctx context.Context, req *module.MessageRequest) (*module.MessageResponse, error)

type Service

type Service struct {
	module.UnimplementedModuleServiceServer
	// contains filtered or unexported fields
}

func NewService

func NewService(handler Handler) *Service

NewService implement messaging

func (*Service) Message

func (s *Service) Message(ctx context.Context, req *module.MessageRequest) (*module.MessageResponse, error)

Jump to

Keyboard shortcuts

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