transport

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 31 Imported by: 0

Documentation

Overview

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

GENERATED BY 'T'ransport 'G'enerator. DO NOT EDIT.

Index

Constants

View Source
const (

	// Version defines the version of the JSON RPC implementation
	Version = "2.0"
)
View Source
const VersionTg = "v2.3.49"

Variables

View Source
var RequestCount = kitPrometheus.NewCounterFrom(stdPrometheus.CounterOpts{
	Help:      "Number of requests received",
	Name:      "count",
	Namespace: "service",
	Subsystem: "requests",
}, []string{"method", "service", "success"})
View Source
var RequestCountAll = kitPrometheus.NewCounterFrom(stdPrometheus.CounterOpts{
	Help:      "Number of all requests received",
	Name:      "all_count",
	Namespace: "service",
	Subsystem: "requests",
}, []string{"method", "service"})
View Source
var RequestLatency = kitPrometheus.NewHistogramFrom(stdPrometheus.HistogramOpts{
	Help:      "Total duration of requests in microseconds",
	Name:      "latency_microseconds",
	Namespace: "service",
	Subsystem: "requests",
}, []string{"method", "service", "success"})

Functions

func ExitOnError

func ExitOnError(log zerolog.Logger, err error, msg string)

func NewDevTools

func NewDevTools(svcDevTools multiplayer.DevTools) (srv *httpDevTools)

func NewDevToolsClient

func NewDevToolsClient(svcDevToolsClient multiplayer.DevToolsClient) (srv *httpDevToolsClient)

func NewDevToolsConnections

func NewDevToolsConnections(svcDevToolsConnections multiplayer.DevToolsConnections) (srv *httpDevToolsConnections)

func NewDevToolsGameConfigs

func NewDevToolsGameConfigs(svcDevToolsGameConfigs multiplayer.DevToolsGameConfigs) (srv *httpDevToolsGameConfigs)

func NewDevToolsServer

func NewDevToolsServer(svcDevToolsServer multiplayer.DevToolsServer) (srv *httpDevToolsServer)

func NewDevelopers

func NewDevelopers(svcDevelopers multiplayer.Developers) (srv *httpDevelopers)

func ServeMetrics

func ServeMetrics(log zerolog.Logger, path string, address string)

Types

type DevToolsClientDeleteGameSaves added in v1.0.1

type DevToolsClientDeleteGameSaves func(ctx context.Context, token string) (err error)

type DevToolsClientGetClient

type DevToolsClientGetClient func(ctx context.Context, token string, gameID uuid.UUID) (client types.Client, err error)

type DevToolsClientGetGameSaves added in v1.0.1

type DevToolsClientGetGameSaves func(ctx context.Context, token string) (gameSaves types.GameSaves, err error)

type DevToolsClientRefreshToken

type DevToolsClientRefreshToken func(ctx context.Context, token string, refresh string) (newToken string, newRefresh string, err error)

type DevToolsClientSetGameSaves added in v1.0.1

type DevToolsClientSetGameSaves func(ctx context.Context, token string, gameSaves types.GameSaves) (err error)

type DevToolsClientSignIn

type DevToolsClientSignIn func(ctx context.Context, client types.Client) (token string, refresh string, err error)

type DevToolsClientSignUp

type DevToolsClientSignUp func(ctx context.Context, client types.Client) (token string, refresh string, err error)

type DevToolsClientUpdateClient

type DevToolsClientUpdateClient func(ctx context.Context, token string, client types.Client) (err error)

type DevToolsConnectionsCreateRoom

type DevToolsConnectionsCreateRoom func(ctx context.Context, token string, name string) (newToken string, err error)

type DevToolsConnectionsGetMyRoom added in v1.0.2

type DevToolsConnectionsGetMyRoom func(ctx context.Context, token string) (room types.Room, err error)

type DevToolsConnectionsGetRoomsAll

type DevToolsConnectionsGetRoomsAll func(ctx context.Context, token string) (rooms []types.Room, err error)

type DevToolsConnectionsGetRoomsConnectionUrls

type DevToolsConnectionsGetRoomsConnectionUrls func(ctx context.Context, token string) (connectionsServer []types.ConnectionServer, err error)

type DevToolsConnectionsJoinRoomByID

type DevToolsConnectionsJoinRoomByID func(ctx context.Context, token string, roomID uuid.UUID) (newToken string, err error)

type DevToolsConnectionsJoinRoomByRoomCode added in v1.0.2

type DevToolsConnectionsJoinRoomByRoomCode func(ctx context.Context, token string, roomCode string) (newToken string, err error)

type DevToolsConnectionsLeaveRoom added in v1.0.2

type DevToolsConnectionsLeaveRoom func(ctx context.Context, token string, roomID uuid.UUID) (err error)

type DevToolsConnectionsRemoveRoomByID

type DevToolsConnectionsRemoveRoomByID func(ctx context.Context, token string, roomID uuid.UUID) (err error)

type DevToolsCreateGame

type DevToolsCreateGame func(ctx context.Context, token string, game types.Game) (id uuid.UUID, err error)

type DevToolsDeleteGame

type DevToolsDeleteGame func(ctx context.Context, token string, gameID uuid.UUID) (err error)

type DevToolsGameAddOwner

type DevToolsGameAddOwner func(ctx context.Context, token string, gameID uuid.UUID, userID uuid.UUID) (err error)

type DevToolsGameConfigsCreateOrUpdateConfig

type DevToolsGameConfigsCreateOrUpdateConfig func(ctx context.Context, token string, configs types.GameConfigs) (err error)

type DevToolsGameConfigsGetGameConfig

type DevToolsGameConfigsGetGameConfig func(ctx context.Context, token string, gameID uuid.UUID) (configs types.GameConfigs, err error)

type DevToolsGameConfigsGetGameResultConfigPreview

type DevToolsGameConfigsGetGameResultConfigPreview func(ctx context.Context, token string, gameID uuid.UUID) (gameResult types.GameConfigResults, err error)

type DevToolsGameRemoveOwner added in v1.0.2

type DevToolsGameRemoveOwner func(ctx context.Context, token string, gameID uuid.UUID, userID uuid.UUID) (err error)

type DevToolsGetGameByGameID

type DevToolsGetGameByGameID func(ctx context.Context, token string, gameID uuid.UUID) (game types.Game, err error)

type DevToolsGetMyGames

type DevToolsGetMyGames func(ctx context.Context, token string) (games []types.Game, err error)

type DevToolsServerAddServer

type DevToolsServerAddServer func(ctx context.Context, token string, name string, address string) (err error)

type DevToolsServerDeleteServers

type DevToolsServerDeleteServers func(ctx context.Context, token string, serverID uuid.UUID) (err error)

type DevToolsServerGetServers

type DevToolsServerGetServers func(ctx context.Context, token string) (servers []types.Server, err error)

type DevToolsTurnOffServerInGame

type DevToolsTurnOffServerInGame func(ctx context.Context, token string, serverID uuid.UUID, gameId uuid.UUID) (err error)

type DevToolsTurnOnServerInGame

type DevToolsTurnOnServerInGame func(ctx context.Context, token string, serverID uuid.UUID, gameId uuid.UUID) (err error)

type DevToolsUpdateGame

type DevToolsUpdateGame func(ctx context.Context, token string, gameID uuid.UUID, newGame types.Game) (id uuid.UUID, err error)

type DevelopersGetDeveloper

type DevelopersGetDeveloper func(ctx context.Context, token string) (developer types.Developer, err error)

type DevelopersRefreshToken

type DevelopersRefreshToken func(ctx context.Context, token string, refresh string) (newToken string, newRefresh string, err error)

type DevelopersSignIn

type DevelopersSignIn func(ctx context.Context, developer types.Developer) (token string, refresh string, err error)

type DevelopersSignUp

type DevelopersSignUp func(ctx context.Context, developer types.Developer) (token string, refresh string, err error)

type DevelopersUpdateDeveloper

type DevelopersUpdateDeveloper func(ctx context.Context, token string, developer types.Developer) (err error)

type ErrorHandler

type ErrorHandler func(err error) error

type Handler

type Handler = fiber.Handler
type Header struct {
	SpanKey       string
	SpanValue     interface{}
	RequestKey    string
	RequestValue  interface{}
	ResponseKey   string
	ResponseValue interface{}
	LogKey        string
	LogValue      interface{}
}

type HeaderHandler

type HeaderHandler func(value string) Header

type MiddlewareDevTools

type MiddlewareDevTools func(next multiplayer.DevTools) multiplayer.DevTools

type MiddlewareDevToolsClient

type MiddlewareDevToolsClient func(next multiplayer.DevToolsClient) multiplayer.DevToolsClient

type MiddlewareDevToolsClientDeleteGameSaves added in v1.0.1

type MiddlewareDevToolsClientDeleteGameSaves func(next DevToolsClientDeleteGameSaves) DevToolsClientDeleteGameSaves

type MiddlewareDevToolsClientGetClient

type MiddlewareDevToolsClientGetClient func(next DevToolsClientGetClient) DevToolsClientGetClient

type MiddlewareDevToolsClientGetGameSaves added in v1.0.1

type MiddlewareDevToolsClientGetGameSaves func(next DevToolsClientGetGameSaves) DevToolsClientGetGameSaves

type MiddlewareDevToolsClientRefreshToken

type MiddlewareDevToolsClientRefreshToken func(next DevToolsClientRefreshToken) DevToolsClientRefreshToken

type MiddlewareDevToolsClientSetGameSaves added in v1.0.1

type MiddlewareDevToolsClientSetGameSaves func(next DevToolsClientSetGameSaves) DevToolsClientSetGameSaves

type MiddlewareDevToolsClientSignIn

type MiddlewareDevToolsClientSignIn func(next DevToolsClientSignIn) DevToolsClientSignIn

type MiddlewareDevToolsClientSignUp

type MiddlewareDevToolsClientSignUp func(next DevToolsClientSignUp) DevToolsClientSignUp

type MiddlewareDevToolsClientUpdateClient

type MiddlewareDevToolsClientUpdateClient func(next DevToolsClientUpdateClient) DevToolsClientUpdateClient

type MiddlewareDevToolsConnectionsCreateRoom

type MiddlewareDevToolsConnectionsCreateRoom func(next DevToolsConnectionsCreateRoom) DevToolsConnectionsCreateRoom

type MiddlewareDevToolsConnectionsGetMyRoom added in v1.0.2

type MiddlewareDevToolsConnectionsGetMyRoom func(next DevToolsConnectionsGetMyRoom) DevToolsConnectionsGetMyRoom

type MiddlewareDevToolsConnectionsJoinRoomByRoomCode added in v1.0.2

type MiddlewareDevToolsConnectionsJoinRoomByRoomCode func(next DevToolsConnectionsJoinRoomByRoomCode) DevToolsConnectionsJoinRoomByRoomCode

type MiddlewareDevToolsConnectionsLeaveRoom added in v1.0.2

type MiddlewareDevToolsConnectionsLeaveRoom func(next DevToolsConnectionsLeaveRoom) DevToolsConnectionsLeaveRoom

type MiddlewareDevToolsCreateGame

type MiddlewareDevToolsCreateGame func(next DevToolsCreateGame) DevToolsCreateGame

type MiddlewareDevToolsDeleteGame

type MiddlewareDevToolsDeleteGame func(next DevToolsDeleteGame) DevToolsDeleteGame

type MiddlewareDevToolsGameAddOwner

type MiddlewareDevToolsGameAddOwner func(next DevToolsGameAddOwner) DevToolsGameAddOwner

type MiddlewareDevToolsGameRemoveOwner added in v1.0.2

type MiddlewareDevToolsGameRemoveOwner func(next DevToolsGameRemoveOwner) DevToolsGameRemoveOwner

type MiddlewareDevToolsGetGameByGameID

type MiddlewareDevToolsGetGameByGameID func(next DevToolsGetGameByGameID) DevToolsGetGameByGameID

type MiddlewareDevToolsGetMyGames

type MiddlewareDevToolsGetMyGames func(next DevToolsGetMyGames) DevToolsGetMyGames

type MiddlewareDevToolsServer

type MiddlewareDevToolsServer func(next multiplayer.DevToolsServer) multiplayer.DevToolsServer

type MiddlewareDevToolsServerAddServer

type MiddlewareDevToolsServerAddServer func(next DevToolsServerAddServer) DevToolsServerAddServer

type MiddlewareDevToolsServerDeleteServers

type MiddlewareDevToolsServerDeleteServers func(next DevToolsServerDeleteServers) DevToolsServerDeleteServers

type MiddlewareDevToolsServerGetServers

type MiddlewareDevToolsServerGetServers func(next DevToolsServerGetServers) DevToolsServerGetServers

type MiddlewareDevToolsTurnOffServerInGame

type MiddlewareDevToolsTurnOffServerInGame func(next DevToolsTurnOffServerInGame) DevToolsTurnOffServerInGame

type MiddlewareDevToolsTurnOnServerInGame

type MiddlewareDevToolsTurnOnServerInGame func(next DevToolsTurnOnServerInGame) DevToolsTurnOnServerInGame

type MiddlewareDevToolsUpdateGame

type MiddlewareDevToolsUpdateGame func(next DevToolsUpdateGame) DevToolsUpdateGame

type MiddlewareDevelopers

type MiddlewareDevelopers func(next multiplayer.Developers) multiplayer.Developers

type MiddlewareDevelopersGetDeveloper

type MiddlewareDevelopersGetDeveloper func(next DevelopersGetDeveloper) DevelopersGetDeveloper

type MiddlewareDevelopersRefreshToken

type MiddlewareDevelopersRefreshToken func(next DevelopersRefreshToken) DevelopersRefreshToken

type MiddlewareDevelopersSignIn

type MiddlewareDevelopersSignIn func(next DevelopersSignIn) DevelopersSignIn

type MiddlewareDevelopersSignUp

type MiddlewareDevelopersSignUp func(next DevelopersSignUp) DevelopersSignUp

type MiddlewareDevelopersUpdateDeveloper

type MiddlewareDevelopersUpdateDeveloper func(next DevelopersUpdateDeveloper) DevelopersUpdateDeveloper

type MiddlewareSetDevTools

type MiddlewareSetDevTools interface {
	Wrap(m MiddlewareDevTools)
	WrapCreateGame(m MiddlewareDevToolsCreateGame)
	WrapGameAddOwner(m MiddlewareDevToolsGameAddOwner)
	WrapGameRemoveOwner(m MiddlewareDevToolsGameRemoveOwner)
	WrapUpdateGame(m MiddlewareDevToolsUpdateGame)
	WrapDeleteGame(m MiddlewareDevToolsDeleteGame)
	WrapGetMyGames(m MiddlewareDevToolsGetMyGames)
	WrapGetGameByGameID(m MiddlewareDevToolsGetGameByGameID)
	WrapTurnOnServerInGame(m MiddlewareDevToolsTurnOnServerInGame)
	WrapTurnOffServerInGame(m MiddlewareDevToolsTurnOffServerInGame)

	WithTrace()
	WithMetrics()
	WithLog()
}

type MiddlewareSetDevToolsClient

type MiddlewareSetDevToolsClient interface {
	Wrap(m MiddlewareDevToolsClient)
	WrapSignUp(m MiddlewareDevToolsClientSignUp)
	WrapSignIn(m MiddlewareDevToolsClientSignIn)
	WrapRefreshToken(m MiddlewareDevToolsClientRefreshToken)
	WrapGetClient(m MiddlewareDevToolsClientGetClient)
	WrapUpdateClient(m MiddlewareDevToolsClientUpdateClient)
	WrapGetGameSaves(m MiddlewareDevToolsClientGetGameSaves)
	WrapSetGameSaves(m MiddlewareDevToolsClientSetGameSaves)
	WrapDeleteGameSaves(m MiddlewareDevToolsClientDeleteGameSaves)

	WithTrace()
	WithMetrics()
	WithLog()
}

type MiddlewareSetDevToolsConnections

type MiddlewareSetDevToolsConnections interface {
	Wrap(m MiddlewareDevToolsConnections)
	WrapCreateRoom(m MiddlewareDevToolsConnectionsCreateRoom)
	WrapGetRoomsAll(m MiddlewareDevToolsConnectionsGetRoomsAll)
	WrapJoinRoomByID(m MiddlewareDevToolsConnectionsJoinRoomByID)
	WrapJoinRoomByRoomCode(m MiddlewareDevToolsConnectionsJoinRoomByRoomCode)
	WrapGetMyRoom(m MiddlewareDevToolsConnectionsGetMyRoom)
	WrapLeaveRoom(m MiddlewareDevToolsConnectionsLeaveRoom)
	WrapRemoveRoomByID(m MiddlewareDevToolsConnectionsRemoveRoomByID)
	WrapGetRoomsConnectionUrls(m MiddlewareDevToolsConnectionsGetRoomsConnectionUrls)

	WithTrace()
	WithMetrics()
	WithLog()
}

type MiddlewareSetDevToolsGameConfigs

type MiddlewareSetDevToolsGameConfigs interface {
	Wrap(m MiddlewareDevToolsGameConfigs)
	WrapCreateOrUpdateConfig(m MiddlewareDevToolsGameConfigsCreateOrUpdateConfig)
	WrapGetGameConfig(m MiddlewareDevToolsGameConfigsGetGameConfig)
	WrapGetGameResultConfigPreview(m MiddlewareDevToolsGameConfigsGetGameResultConfigPreview)

	WithTrace()
	WithMetrics()
	WithLog()
}

type MiddlewareSetDevToolsServer

type MiddlewareSetDevToolsServer interface {
	Wrap(m MiddlewareDevToolsServer)
	WrapAddServer(m MiddlewareDevToolsServerAddServer)
	WrapGetServers(m MiddlewareDevToolsServerGetServers)
	WrapDeleteServers(m MiddlewareDevToolsServerDeleteServers)

	WithTrace()
	WithMetrics()
	WithLog()
}

type MiddlewareSetDevelopers

type MiddlewareSetDevelopers interface {
	Wrap(m MiddlewareDevelopers)
	WrapSignUp(m MiddlewareDevelopersSignUp)
	WrapSignIn(m MiddlewareDevelopersSignIn)
	WrapRefreshToken(m MiddlewareDevelopersRefreshToken)
	WrapGetDeveloper(m MiddlewareDevelopersGetDeveloper)
	WrapUpdateDeveloper(m MiddlewareDevelopersUpdateDeveloper)

	WithTrace()
	WithMetrics()
	WithLog()
}

type Option

type Option func(srv *Server)

func DevTools

func DevTools(svc *httpDevTools) Option

func DevToolsClient

func DevToolsClient(svc *httpDevToolsClient) Option

func DevToolsConnections

func DevToolsConnections(svc *httpDevToolsConnections) Option

func DevToolsGameConfigs

func DevToolsGameConfigs(svc *httpDevToolsGameConfigs) Option

func DevToolsServer

func DevToolsServer(svc *httpDevToolsServer) Option

func Developers

func Developers(svc *httpDevelopers) Option

func MaxBatchSize

func MaxBatchSize(size int) Option

func MaxBatchWorkers

func MaxBatchWorkers(size int) Option

func MaxBodySize

func MaxBodySize(max int) Option

func ReadTimeout

func ReadTimeout(timeout time.Duration) Option

func Service

func Service(svc ServiceRoute) Option

func SetFiberCfg

func SetFiberCfg(cfg fiber.Config) Option

func SetReadBufferSize

func SetReadBufferSize(size int) Option

func Use

func Use(args ...interface{}) Option

func WithHeader

func WithHeader(headerName string, handler HeaderHandler) Option

func WithRequestID

func WithRequestID(headerName string) Option

func WriteTimeout

func WriteTimeout(timeout time.Duration) Option

type Server

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

func New

func New(log zerolog.Logger, options ...Option) (srv *Server)

func (*Server) DevTools

func (srv *Server) DevTools() *httpDevTools

func (*Server) DevToolsClient

func (srv *Server) DevToolsClient() *httpDevToolsClient

func (*Server) DevToolsConnections

func (srv *Server) DevToolsConnections() *httpDevToolsConnections

func (*Server) DevToolsGameConfigs

func (srv *Server) DevToolsGameConfigs() *httpDevToolsGameConfigs

func (*Server) DevToolsServer

func (srv *Server) DevToolsServer() *httpDevToolsServer

func (*Server) Developers

func (srv *Server) Developers() *httpDevelopers

func (*Server) Fiber

func (srv *Server) Fiber() *fiber.App

func (*Server) ServeHealth

func (srv *Server) ServeHealth(address string, response interface{})

func (*Server) Shutdown

func (srv *Server) Shutdown()

func (*Server) TraceJaeger

func (srv *Server) TraceJaeger(serviceName string) *Server

func (*Server) TraceZipkin

func (srv *Server) TraceZipkin(serviceName string, zipkinUrl string) *Server

func (*Server) WithLog

func (srv *Server) WithLog() *Server

func (*Server) WithMetrics

func (srv *Server) WithMetrics() *Server

func (*Server) WithTrace

func (srv *Server) WithTrace() *Server

type ServiceRoute

type ServiceRoute interface {
	SetRoutes(route *fiber.App)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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