httpapi

package
v0.9.15-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package httpapi contains code that is related to the html websites used for defining and sending transactions and simtasks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer()

RunServer runs two local websites on port database.HttpPort that can be used via browser to send transactions or broadcast new simtasks

Types

type ResponseData

type ResponseData struct {
	Message string `json:"message"`
}

ResponseData holds the response data which is sent as JSON

Jump to

Keyboard shortcuts

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