defaultrestapiserver

package
v0.0.0-...-921adc7 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New creates, initializes and returns DefaultRESTAPIServer.

Types

type AddBlockBody

type AddBlockBody struct {
	Message string
}

type DefaultRESTAPIServer

type DefaultRESTAPIServer struct {
	// contains filtered or unexported fields
}

func (*DefaultRESTAPIServer) Close

func (d *DefaultRESTAPIServer) Close() error

func (*DefaultRESTAPIServer) Serve

func (d *DefaultRESTAPIServer) Serve() error

type ErrorResponse

type ErrorResponse struct {
	ErrorMessage string `json:"errorMessage"`
}

Jump to

Keyboard shortcuts

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