server

package
v0.0.0-...-468e309 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(a app.App) *chi.Mux

Types

type Server

type Server struct {
	*config.Config
	pubsub.Dispatcher
	// contains filtered or unexported fields
}

func Create

func Create(conf *config.Config) Server

func (*Server) GetAdapters

func (s *Server) GetAdapters() *adapter.Adapters

func (*Server) GetBuilder

func (s *Server) GetBuilder() *resource.Builder

func (*Server) GetCache

func (s *Server) GetCache() *cache.Cache

func (*Server) GetConfig

func (s *Server) GetConfig() *config.Config

func (*Server) GetDB

func (s *Server) GetDB() *pg.DB

func (*Server) GetJWT

func (s *Server) GetJWT() *jwtauth.JWTAuth

func (*Server) GetRedis

func (s *Server) GetRedis() *redis.Client

func (*Server) GetRepositories

func (s *Server) GetRepositories() *repository.Repositories

func (*Server) GetStore

func (s *Server) GetStore() store.Service

Jump to

Keyboard shortcuts

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