core

package
v1.0.155 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoreApi *api.CoreApi
View Source
var CoreBot *bot.CoreBot
View Source
var CoreSrv *srv.CoreSrv

Functions

This section is empty.

Types

type App

type App struct {
	Name   string
	Config *config.Config
	// contains filtered or unexported fields
}

func NewApp

func NewApp() *App

func NewAppDev

func NewAppDev(name string) *App

func (*App) Execute

func (app *App) Execute(options ...OptionsApp)

func (*App) Run

func (app *App) Run() error

func (*App) Start

func (app *App) Start(s service.Service) error

func (*App) Stop

func (app *App) Stop(s service.Service) error

func (*App) StopService

func (app *App) StopService()

type OptionsApp

type OptionsApp func(*App)

func AddApi

func AddApi() OptionsApp

func AddBot

func AddBot() OptionsApp

func AddSrv

func AddSrv() OptionsApp

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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