gw

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServicesManager

func NewServicesManager(contractServices ...service.Service) *servicesManager

func StartHttpServer

func StartHttpServer(xnsContext *types.XnsContext) error

Start the HTTP server. Users can request to this server in order to query infos of XNS contracts by using HTTP REST API.

Types

type Quit

type Quit struct {
	Code int
}

func GatewayQuit

func GatewayQuit() Quit

func (Quit) Error

func (q Quit) Error() string

Jump to

Keyboard shortcuts

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