mock

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Data

func Data() (c *conf.Bootstrap, dataData *data.Data, cache biz.Cache)

func GameRepo

func GameRepo() biz.GameRepo

func GameService

func GameService() (gameService *service.GameService)

func GameUseCase

func GameUseCase() (gameUseCase *biz.GameUseCase)

func MySQLAndRedis

func MySQLAndRedis() *conf.Bootstrap

func NewContextWithUserId

func NewContextWithUserId(ctx context.Context, u string) context.Context

Types

type Transport

type Transport struct {
	// contains filtered or unexported fields
}

func (*Transport) Endpoint

func (tr *Transport) Endpoint() string

func (*Transport) Kind

func (tr *Transport) Kind() transport.Kind

func (*Transport) Operation

func (tr *Transport) Operation() string

func (*Transport) ReplyHeader

func (*Transport) ReplyHeader() transport.Header

func (*Transport) RequestHeader

func (tr *Transport) RequestHeader() transport.Header

Jump to

Keyboard shortcuts

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