service

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidConfig = errors.New("invalid config")
)

Functions

This section is empty.

Types

type Service

type Service struct {
	notice.UnimplementedNoticeServiceServer
	// contains filtered or unexported fields
}

func New

func New(conf config.Bot) *Service

func (*Service) SendMessage

func (srv *Service) SendMessage(ctx context.Context, req *notice.SendMessageReq) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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