larkbot

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 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 Server

type Server struct {
	GetAccessToken         func() (int, error)
	CardCallbackHandler    func(http.ResponseWriter, interface{})
	EventCallbackHandler   func(larkslim.EventResponse)
	EventEncrytionKey      string
	EventVerificationToken string

	Logger interface {
		Debug(args ...interface{})
		Info(args ...interface{})
		Error(args ...interface{})
		Fatal(args ...interface{})
	}
}

func (*Server) Serve

func (h *Server) Serve(address string)

Jump to

Keyboard shortcuts

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