server

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Router     *gin.Engine
	Config     *configuration.Config
	Mails      *maillist.MailList
	Plugins    []plugins.Plugin
	GClients   *models.GmailClients
	Controller *controllers.Controller
}

func New

func New(plugs []plugins.Plugin, router *gin.Engine) *Server

func (*Server) InitLog

func (srv *Server) InitLog() error

func (*Server) InitRoutes

func (srv *Server) InitRoutes()

func (*Server) Run

func (srv *Server) Run(data *models.Data)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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