server

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: GPL-3.0 Imports: 15 Imported by: 0

README

Installation

  1. go get github.com/rakyll/statik

Steps to follow

  1. cd maticnetwork/heimdall/server
  2. Update swagger.yaml file inside swagger-ui directory
  3. cd maticnetwork/heimdall/server && statik -src=./swagger-ui
  4. cd maticnetwork/heimdall && make build
  5. cd maticnetwork/heimdall && make run-server

Visit http://localhost:1317/swagger-ui/

Reference

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(rs *lcd.RestServer)

RegisterRoutes register routes of all modules

func ServeCommands

func ServeCommands(cdc *codec.Codec, registerRoutesFn func(*lcd.RestServer)) *cobra.Command

ServeCommands will generate a long-running rest server (aka Light Client Daemon) that exposes functionality similar to the cli, but over rest

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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