service

package
v0.0.0-...-6d5b5b3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}
var App *Service

func New

func New(config *cfg.Config, db persistence.TicTacToe, policy game.Policy) *Service

func (*Service) Close

func (app *Service) Close() error

func (*Service) DeleteAPIV1GamesGameIDHandler

func (app *Service) DeleteAPIV1GamesGameIDHandler(params operations.DeleteAPIV1GamesGameIDParams) middleware.Responder

func (*Service) GetAPIV1GamesGameIDHandler

func (app *Service) GetAPIV1GamesGameIDHandler(params operations.GetAPIV1GamesGameIDParams) middleware.Responder

func (*Service) GetAPIV1GamesHandler

func (app *Service) GetAPIV1GamesHandler(params operations.GetAPIV1GamesParams) middleware.Responder

func (*Service) PostAPIV1GamesHandler

func (app *Service) PostAPIV1GamesHandler(params operations.PostAPIV1GamesParams) middleware.Responder

func (*Service) PutAPIV1GamesGameIDHandler

func (app *Service) PutAPIV1GamesGameIDHandler(params operations.PutAPIV1GamesGameIDParams) middleware.Responder

Jump to

Keyboard shortcuts

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