api

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IApi

type IApi interface {
	service.IService
	TGBot() *TGBot
}

type Server

type Server struct {
	Srv      *ghttp.Server
	Listener net.Listener
	Bot      *TGBot
}

type TGBot

type TGBot struct {
	Bot    *telebot.Bot `json:"bot"`
	Domain string       `json:"domain"`
	Token  string       `json:"token"`
}

Jump to

Keyboard shortcuts

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