Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CVApp ¶
type CVApp struct {
// contains filtered or unexported fields
}
CVApp app
func (*CVApp) HandleEvent ¶
func (app *CVApp) HandleEvent(ctx context.Context, event *linebot.Event) (replyMsgs []linebot.SendingMessage, err error)
HandleEvent implements event handler with provider-based logic
func (*CVApp) ParseRequest ¶
ParseRequest parse http.Request into events
type Middleware ¶
Middleware describes a service (as opposed to endpoint) middleware.
func LoggingMiddleware ¶
func LoggingMiddleware(logger Logger) Middleware
LoggingMiddleware returns a service middleware that logs the parameters and result of each method invocation.
func TraceMiddleware ¶
func TraceMiddleware() Middleware
TraceMiddleware returns a service middleware that logs the parameters and result of each method invocation.
Click to show internal directories.
Click to hide internal directories.