bpool

package module
v0.0.0-...-c95cf46 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: MIT Imports: 10 Imported by: 1

README

BPool

Ride sharing made easy for UCLA

Application Wiki

https://github.com/ucladevx/BPool/wiki

Dependencies

  1. Golang 1.9 or higher
  2. Postgres
  3. Go dep
  4. GPG

How to run

  1. Run dep ensure
dep ensure
  1. Unencrypt the config file
make config
  1. Run the server
make run

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Start starts the server

Types

type Logger

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

Logger is a BPool logger

func NewBPoolLogger

func NewBPoolLogger(l *zap.SugaredLogger) *Logger

NewBPoolLogger creates a new logger

func (*Logger) Debug

func (l *Logger) Debug(msg string, args ...interface{})

Debug wraps the zap Debugw

func (*Logger) Error

func (l *Logger) Error(msg string, args ...interface{})

Error wraps the zap Errorw

func (*Logger) Info

func (l *Logger) Info(msg string, args ...interface{})

Info wraps the zap infow

func (*Logger) Panic

func (l *Logger) Panic(msg string, args ...interface{})

Panic wraps the zap Panicw

func (*Logger) Warn

func (l *Logger) Warn(msg string, args ...interface{})

Warn wraps the zap Warnw

Directories

Path Synopsis
adapters
cmd
BPool command
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
utils
id

Jump to

Keyboard shortcuts

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