endpoints

package
v0.0.0-...-ed93953 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePlayerReply

type CreatePlayerReply struct {
	Ops string
	Err error
}

CreatePlayerReply holds the response params for CreatePlayer

type CreatePlayerRequest

type CreatePlayerRequest struct {
	PlayerDetail *service.Player
}

CreatePlayerRequest holds the request params for CreatePlayer

type DeletePlayerReply

type DeletePlayerReply struct {
	Ops string
	Err error
}

DeletePlayerReply holds the response params for DeletePlayer

type DeletePlayerRequest

type DeletePlayerRequest struct {
	Name string
	Team string
}

DeletePlayerRequest holds the request params for DeletePlayer

type Endpoints

type Endpoints struct {
	CreatePlayerEndpoint endpoint.Endpoint
	DeletePlayerEndpoint endpoint.Endpoint
}

Endpoints holds all PlayerOps Service enpoints

func MakePlayerOpsEndpoints

func MakePlayerOpsEndpoints(s service.PlayerOpsService) Endpoints

MakePlayerOpsEndpoints initialize all service Endpoints

Jump to

Keyboard shortcuts

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