v1

package
v0.0.0-...-0653a19 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1 contains the full set of handler functions and routes supported by the v1 web api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(app *web.App, cfg Config)

Routes binds all the version 1 routes.

Types

type Config

type Config struct {
	Log            *zap.SugaredLogger
	Auth           *auth.Auth
	DB             *sqlx.DB
	Converter      *currency.Converter
	Book           *book.Book
	Evts           *events.Events
	AnteUSD        float64
	BankTimeout    time.Duration
	ConnectTimeout time.Duration
}

Config contains all the mandatory systems required by handlers.

Directories

Path Synopsis
Package gamegrp provides the handlers for game play.
Package gamegrp provides the handlers for game play.

Jump to

Keyboard shortcuts

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