server

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeps

func GetDeps() (*badger.DB, *stream.Hub, *maps.Client, error)

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer() (*Server, error)

func (*Server) GetDB

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

func (*Server) GetGRPCServer

func (s *Server) GetGRPCServer() *grpc.Server

func (*Server) GetGmaps

func (s *Server) GetGmaps() *maps.Client

func (*Server) GetHTTPClient

func (s *Server) GetHTTPClient() *http.Client

func (*Server) GetLogger

func (s *Server) GetLogger() *log.Logger

func (*Server) GetStream

func (s *Server) GetStream() *stream.Hub

func (*Server) Run

func (s *Server) Run()

func (*Server) Setup

func (s *Server) Setup(fn func(s *Server) error)

Jump to

Keyboard shortcuts

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