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 Endpoints

type Endpoints struct {
	TransferPlayerEndpoint endpoint.Endpoint
}

Endpoints holds all PlayerOps Service enpoints

func MakeTransferEndpoints

func MakeTransferEndpoints(s service.TransferService) Endpoints

MakeTransferEndpoints initialize all service Endpoints

type PlayerTransferReply

type PlayerTransferReply struct {
	Ops string
	Err error
}

PlayerTransferReply holds the response params for PlayerTransfer

type PlayerTransferRequest

type PlayerTransferRequest struct {
	PlayerName string
	FromTeam   string
	ToTeam     string
}

PlayerTransferRequest holds the request params for PlayerTransfer

Jump to

Keyboard shortcuts

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