gateway

package
v0.0.0-...-c0dbb74 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

* @FilePath: /sxwz-bot/internal/gateway/gateway.go * @Author: maggot-code * @Date: 2023-09-18 10:16:19 * @LastEditors: maggot-code * @LastEditTime: 2023-09-19 07:36:26 * @Description:

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewGateway)

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	// contains filtered or unexported fields
}

func NewGateway

func NewGateway(c *conf.Bootstrap) *Gateway

func (*Gateway) PostMessage

func (gw *Gateway) PostMessage(channelID string, msg *dto.MessageToCreate) error

func (*Gateway) Start

func (gw *Gateway) Start(intent dto.Intent) error

Jump to

Keyboard shortcuts

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