servers

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: AGPL-3.0 Imports: 3 Imported by: 3

Documentation

Overview

Package servers provide servers register

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, proc func(*coolq.CQBot, yaml.Node))

Register 注册 Server

func RegisterCustom

func RegisterCustom(name string, proc func(*coolq.CQBot))

RegisterCustom 注册无需 config 的自定义 Server

func Run

func Run(bot *coolq.CQBot)

Run 运行所有svr

Types

This section is empty.

Jump to

Keyboard shortcuts

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