server

package
v0.0.0-...-888d963 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 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 {
	DB     *gorm.DB
	Router *mux.Router
	Conf   *config.Configuration
}

func (*Server) GetConf

func (s *Server) GetConf() *config.Configuration

func (*Server) GetDatabase

func (s *Server) GetDatabase() *gorm.DB

func (*Server) GetRouter

func (s *Server) GetRouter() *mux.Router

func (*Server) Initialize

func (s *Server) Initialize()

func (*Server) KeyGen

func (s *Server) KeyGen()

func (*Server) Migrate

func (s *Server) Migrate()

func (*Server) Run

func (s *Server) Run()

Jump to

Keyboard shortcuts

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