obhandler

package
v0.0.0-...-20ecdb9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 13 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 struct {
	// contains filtered or unexported fields
}

Handler is wakatime main handler

func InitHandler

func InitHandler(db database.Database) *Handler

InitHandler return wakatime main handler

func (*Handler) Handle

func (h *Handler) Handle(payload []byte, caller nilbot.APICaller)

Handle ob event

type SendMsgErr

type SendMsgErr struct {
	InnerErr error
}

SendMsgErr implements error interface

func (*SendMsgErr) Error

func (e *SendMsgErr) Error() string

Error return inner error string.

Jump to

Keyboard shortcuts

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