app

package
v0.0.0-...-dd23460 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	WebsocketService *websocketService.WebsocketService `singleton:""`
	MarketService    *marketServcie.MarketService       `singleton:""`
}

func GetAppSingleton

func GetAppSingleton() (*App, error)

func (*App) Run

func (app *App) Run()

type AppIOCInterface

type AppIOCInterface interface {
	Run()
}

func GetAppIOCInterfaceSingleton

func GetAppIOCInterfaceSingleton() (AppIOCInterface, error)

type Request

type Request struct {
	Id     string `json:"id"`
	Method string `json:"method"`
}

type Response

type Response struct {
	Id      string `json:"id"`
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ThisApp

type ThisApp struct {
}

func (*ThisApp) This

func (t *ThisApp) This() AppIOCInterface

Jump to

Keyboard shortcuts

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