transaction

package
Version: v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: GPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reply

type Reply struct {
}

Reply ...

type Request

type Request struct {
	UserID  string
	Token   string
	GameID  string
	OrderID string
	// contains filtered or unexported fields
}

Request ...

type Service

type Service struct {
	Path string
	// contains filtered or unexported fields
}

Service ...

func NewTransaction

func NewTransaction(path string, httpConn *myhttp.Service) *Service

NewTransaction ...

func (*Service) AuthUser

func (s *Service) AuthUser(url string) ([]byte, error)

AuthUser GET transation

func (Service) EndOrder

func (s Service) EndOrder(url, token string, payload []byte) ([]byte, error)

EndOrder GET transation

func (Service) NewOrder

func (s Service) NewOrder(url, token string, payload []byte) ([]byte, error)

NewOrder POST transation

type User

type User struct {
}

User ...

Source Files

Jump to

Keyboard shortcuts

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