httpapi

package
v0.0.0-...-d12a4ab Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: LGPL-2.1 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGGER *logrus.Logger

Functions

Types

type HttpApi

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

func NewHttpApi

func NewHttpApi(cfg config.MsbConfig) *HttpApi

func (*HttpApi) BuildHttpApiHandlers

func (this *HttpApi) BuildHttpApiHandlers(hs []api.HttpApiSimpleHandler)

func (*HttpApi) Close

func (this *HttpApi) Close() error

func (*HttpApi) ReloadHttpApi

func (this *HttpApi) ReloadHttpApi() error

func (*HttpApi) Start

func (this *HttpApi) Start() error

type HttpMsbHandler

type HttpMsbHandler struct {
}

func (HttpMsbHandler) CallProcess

func (h HttpMsbHandler) CallProcess(process string, param interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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