api

package
v0.0.0-...-752a2b9 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	Service server.Service
}

func (*Api) Health

func (api *Api) Health(addr *string, fun func(w http.ResponseWriter, r *http.Request))

func (*Api) MainHandler

func (api *Api) MainHandler(w http.ResponseWriter, r *http.Request)

func (*Api) Run

func (api *Api) Run()

type ProxRequest

type ProxRequest struct {
	R       map[string]interface{}
	Service string
	Method  string
}

type Reply

type Reply struct {
	Result map[string]interface{}
}

Jump to

Keyboard shortcuts

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