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
- Variables
- func ExitOnError(log zerolog.Logger, err error, msg string)
- func NewDevTools(svcDevTools multiplayer.DevTools) (srv *httpDevTools)
- func NewDevToolsClient(svcDevToolsClient multiplayer.DevToolsClient) (srv *httpDevToolsClient)
- func NewDevToolsConnections(svcDevToolsConnections multiplayer.DevToolsConnections) (srv *httpDevToolsConnections)
- func NewDevToolsGameConfigs(svcDevToolsGameConfigs multiplayer.DevToolsGameConfigs) (srv *httpDevToolsGameConfigs)
- func NewDevToolsServer(svcDevToolsServer multiplayer.DevToolsServer) (srv *httpDevToolsServer)
- func NewDevelopers(svcDevelopers multiplayer.Developers) (srv *httpDevelopers)
- func ServeMetrics(log zerolog.Logger, path string, address string)
- type DevToolsClientDeleteGameSaves
- type DevToolsClientGetClient
- type DevToolsClientGetGameSaves
- type DevToolsClientRefreshToken
- type DevToolsClientSetGameSaves
- type DevToolsClientSignIn
- type DevToolsClientSignUp
- type DevToolsClientUpdateClient
- type DevToolsConnectionsCreateRoom
- type DevToolsConnectionsGetMyRoom
- type DevToolsConnectionsGetRoomsAll
- type DevToolsConnectionsGetRoomsConnectionUrls
- type DevToolsConnectionsJoinRoomByID
- type DevToolsConnectionsJoinRoomByRoomCode
- type DevToolsConnectionsLeaveRoom
- type DevToolsConnectionsRemoveRoomByID
- type DevToolsCreateGame
- type DevToolsDeleteGame
- type DevToolsGameAddOwner
- type DevToolsGameConfigsCreateOrUpdateConfig
- type DevToolsGameConfigsGetGameConfig
- type DevToolsGameConfigsGetGameResultConfigPreview
- type DevToolsGameRemoveOwner
- type DevToolsGetGameByGameID
- type DevToolsGetMyGames
- type DevToolsServerAddServer
- type DevToolsServerDeleteServers
- type DevToolsServerGetServers
- type DevToolsTurnOffServerInGame
- type DevToolsTurnOnServerInGame
- type DevToolsUpdateGame
- type DevelopersGetDeveloper
- type DevelopersRefreshToken
- type DevelopersSignIn
- type DevelopersSignUp
- type DevelopersUpdateDeveloper
- type ErrorHandler
- type Handler
- type Header
- type HeaderHandler
- type MiddlewareDevTools
- type MiddlewareDevToolsClient
- type MiddlewareDevToolsClientDeleteGameSaves
- type MiddlewareDevToolsClientGetClient
- type MiddlewareDevToolsClientGetGameSaves
- type MiddlewareDevToolsClientRefreshToken
- type MiddlewareDevToolsClientSetGameSaves
- type MiddlewareDevToolsClientSignIn
- type MiddlewareDevToolsClientSignUp
- type MiddlewareDevToolsClientUpdateClient
- type MiddlewareDevToolsConnections
- type MiddlewareDevToolsConnectionsCreateRoom
- type MiddlewareDevToolsConnectionsGetMyRoom
- type MiddlewareDevToolsConnectionsGetRoomsAll
- type MiddlewareDevToolsConnectionsGetRoomsConnectionUrls
- type MiddlewareDevToolsConnectionsJoinRoomByID
- type MiddlewareDevToolsConnectionsJoinRoomByRoomCode
- type MiddlewareDevToolsConnectionsLeaveRoom
- type MiddlewareDevToolsConnectionsRemoveRoomByID
- type MiddlewareDevToolsCreateGame
- type MiddlewareDevToolsDeleteGame
- type MiddlewareDevToolsGameAddOwner
- type MiddlewareDevToolsGameConfigs
- type MiddlewareDevToolsGameConfigsCreateOrUpdateConfig
- type MiddlewareDevToolsGameConfigsGetGameConfig
- type MiddlewareDevToolsGameConfigsGetGameResultConfigPreview
- type MiddlewareDevToolsGameRemoveOwner
- type MiddlewareDevToolsGetGameByGameID
- type MiddlewareDevToolsGetMyGames
- type MiddlewareDevToolsServer
- type MiddlewareDevToolsServerAddServer
- type MiddlewareDevToolsServerDeleteServers
- type MiddlewareDevToolsServerGetServers
- type MiddlewareDevToolsTurnOffServerInGame
- type MiddlewareDevToolsTurnOnServerInGame
- type MiddlewareDevToolsUpdateGame
- type MiddlewareDevelopers
- type MiddlewareDevelopersGetDeveloper
- type MiddlewareDevelopersRefreshToken
- type MiddlewareDevelopersSignIn
- type MiddlewareDevelopersSignUp
- type MiddlewareDevelopersUpdateDeveloper
- type MiddlewareSetDevTools
- type MiddlewareSetDevToolsClient
- type MiddlewareSetDevToolsConnections
- type MiddlewareSetDevToolsGameConfigs
- type MiddlewareSetDevToolsServer
- type MiddlewareSetDevelopers
- type Option
- func DevTools(svc *httpDevTools) Option
- func DevToolsClient(svc *httpDevToolsClient) Option
- func DevToolsConnections(svc *httpDevToolsConnections) Option
- func DevToolsGameConfigs(svc *httpDevToolsGameConfigs) Option
- func DevToolsServer(svc *httpDevToolsServer) Option
- func Developers(svc *httpDevelopers) Option
- func MaxBatchSize(size int) Option
- func MaxBatchWorkers(size int) Option
- func MaxBodySize(max int) Option
- func ReadTimeout(timeout time.Duration) Option
- func Service(svc ServiceRoute) Option
- func SetFiberCfg(cfg fiber.Config) Option
- func SetReadBufferSize(size int) Option
- func Use(args ...interface{}) Option
- func WithHeader(headerName string, handler HeaderHandler) Option
- func WithRequestID(headerName string) Option
- func WriteTimeout(timeout time.Duration) Option
- type Server
- func (srv *Server) DevTools() *httpDevTools
- func (srv *Server) DevToolsClient() *httpDevToolsClient
- func (srv *Server) DevToolsConnections() *httpDevToolsConnections
- func (srv *Server) DevToolsGameConfigs() *httpDevToolsGameConfigs
- func (srv *Server) DevToolsServer() *httpDevToolsServer
- func (srv *Server) Developers() *httpDevelopers
- func (srv *Server) Fiber() *fiber.App
- func (srv *Server) ServeHealth(address string, response interface{})
- func (srv *Server) Shutdown()
- func (srv *Server) TraceJaeger(serviceName string) *Server
- func (srv *Server) TraceZipkin(serviceName string, zipkinUrl string) *Server
- func (srv *Server) WithLog() *Server
- func (srv *Server) WithMetrics() *Server
- func (srv *Server) WithTrace() *Server
- type ServiceRoute
Constants ¶
const (
// Version defines the version of the JSON RPC implementation
Version = "2.0"
)
const VersionTg = "v2.3.49"
Variables ¶
var RequestCount = kitPrometheus.NewCounterFrom(stdPrometheus.CounterOpts{ Help: "Number of requests received", Name: "count", Namespace: "service", Subsystem: "requests", }, []string{"method", "service", "success"})
var RequestCountAll = kitPrometheus.NewCounterFrom(stdPrometheus.CounterOpts{ Help: "Number of all requests received", Name: "all_count", Namespace: "service", Subsystem: "requests", }, []string{"method", "service"})
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 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)
Types ¶
type DevToolsClientDeleteGameSaves ¶ added in v1.0.1
type DevToolsClientGetClient ¶
type DevToolsClientGetGameSaves ¶ added in v1.0.1
type DevToolsClientSetGameSaves ¶ added in v1.0.1
type DevToolsClientSignIn ¶
type DevToolsClientSignUp ¶
type DevToolsConnectionsGetMyRoom ¶ added in v1.0.2
type DevToolsConnectionsJoinRoomByRoomCode ¶ added in v1.0.2
type DevToolsConnectionsLeaveRoom ¶ added in v1.0.2
type DevToolsCreateGame ¶
type DevToolsDeleteGame ¶
type DevToolsGameAddOwner ¶
type DevToolsGameRemoveOwner ¶ added in v1.0.2
type DevToolsGetGameByGameID ¶
type DevToolsGetMyGames ¶
type DevToolsServerAddServer ¶
type DevToolsUpdateGame ¶
type DevelopersGetDeveloper ¶
type DevelopersRefreshToken ¶
type DevelopersSignIn ¶
type DevelopersSignUp ¶
type ErrorHandler ¶
type HeaderHandler ¶
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 MiddlewareDevToolsConnections ¶
type MiddlewareDevToolsConnections func(next multiplayer.DevToolsConnections) multiplayer.DevToolsConnections
type MiddlewareDevToolsConnectionsCreateRoom ¶
type MiddlewareDevToolsConnectionsCreateRoom func(next DevToolsConnectionsCreateRoom) DevToolsConnectionsCreateRoom
type MiddlewareDevToolsConnectionsGetMyRoom ¶ added in v1.0.2
type MiddlewareDevToolsConnectionsGetMyRoom func(next DevToolsConnectionsGetMyRoom) DevToolsConnectionsGetMyRoom
type MiddlewareDevToolsConnectionsGetRoomsAll ¶
type MiddlewareDevToolsConnectionsGetRoomsAll func(next DevToolsConnectionsGetRoomsAll) DevToolsConnectionsGetRoomsAll
type MiddlewareDevToolsConnectionsGetRoomsConnectionUrls ¶
type MiddlewareDevToolsConnectionsGetRoomsConnectionUrls func(next DevToolsConnectionsGetRoomsConnectionUrls) DevToolsConnectionsGetRoomsConnectionUrls
type MiddlewareDevToolsConnectionsJoinRoomByID ¶
type MiddlewareDevToolsConnectionsJoinRoomByID func(next DevToolsConnectionsJoinRoomByID) DevToolsConnectionsJoinRoomByID
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 MiddlewareDevToolsConnectionsRemoveRoomByID ¶
type MiddlewareDevToolsConnectionsRemoveRoomByID func(next DevToolsConnectionsRemoveRoomByID) DevToolsConnectionsRemoveRoomByID
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 MiddlewareDevToolsGameConfigs ¶
type MiddlewareDevToolsGameConfigs func(next multiplayer.DevToolsGameConfigs) multiplayer.DevToolsGameConfigs
type MiddlewareDevToolsGameConfigsCreateOrUpdateConfig ¶
type MiddlewareDevToolsGameConfigsCreateOrUpdateConfig func(next DevToolsGameConfigsCreateOrUpdateConfig) DevToolsGameConfigsCreateOrUpdateConfig
type MiddlewareDevToolsGameConfigsGetGameConfig ¶
type MiddlewareDevToolsGameConfigsGetGameConfig func(next DevToolsGameConfigsGetGameConfig) DevToolsGameConfigsGetGameConfig
type MiddlewareDevToolsGameConfigsGetGameResultConfigPreview ¶
type MiddlewareDevToolsGameConfigsGetGameResultConfigPreview func(next DevToolsGameConfigsGetGameResultConfigPreview) DevToolsGameConfigsGetGameResultConfigPreview
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 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 MaxBatchWorkers ¶
func MaxBodySize ¶
func ReadTimeout ¶
func Service ¶
func Service(svc ServiceRoute) Option
func SetFiberCfg ¶
func SetFiberCfg(cfg fiber.Config) Option
func SetReadBufferSize ¶
func WithHeader ¶
func WithHeader(headerName string, handler HeaderHandler) Option
func WithRequestID ¶
func WriteTimeout ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
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) ServeHealth ¶
func (*Server) TraceJaeger ¶
func (*Server) TraceZipkin ¶
func (*Server) WithMetrics ¶
type ServiceRoute ¶
type ServiceRoute interface {
SetRoutes(route *fiber.App)
}
Source Files ¶
- developers-exchange.go
- developers-http.go
- developers-jsonrpc.go
- developers-logger.go
- developers-metrics.go
- developers-middleware.go
- developers-server.go
- developers-trace.go
- devtools-exchange.go
- devtools-http.go
- devtools-jsonrpc.go
- devtools-logger.go
- devtools-metrics.go
- devtools-middleware.go
- devtools-server.go
- devtools-trace.go
- devtoolsclient-exchange.go
- devtoolsclient-http.go
- devtoolsclient-jsonrpc.go
- devtoolsclient-logger.go
- devtoolsclient-metrics.go
- devtoolsclient-middleware.go
- devtoolsclient-server.go
- devtoolsclient-trace.go
- devtoolsconnections-exchange.go
- devtoolsconnections-http.go
- devtoolsconnections-jsonrpc.go
- devtoolsconnections-logger.go
- devtoolsconnections-metrics.go
- devtoolsconnections-middleware.go
- devtoolsconnections-server.go
- devtoolsconnections-trace.go
- devtoolsgameconfigs-exchange.go
- devtoolsgameconfigs-http.go
- devtoolsgameconfigs-jsonrpc.go
- devtoolsgameconfigs-logger.go
- devtoolsgameconfigs-metrics.go
- devtoolsgameconfigs-middleware.go
- devtoolsgameconfigs-server.go
- devtoolsgameconfigs-trace.go
- devtoolsserver-exchange.go
- devtoolsserver-http.go
- devtoolsserver-jsonrpc.go
- devtoolsserver-logger.go
- devtoolsserver-metrics.go
- devtoolsserver-middleware.go
- devtoolsserver-server.go
- devtoolsserver-trace.go
- errors.go
- fiber.go
- header.go
- http.go
- jsonrpc.go
- metrics.go
- options.go
- redirect.go
- server.go
- tracer.go
- version.go