api

package
v1.2.0-pre-fork6-fix4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(powPool *powpool.PowPool) (http.HandlerFunc, func())

New return api router

Types

type ApiHandler

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

func NewApiHandler

func NewApiHandler(powPool *powpool.PowPool) *ApiHandler

func (*ApiHandler) Mount

func (h *ApiHandler) Mount(root *mux.Router, pathPrefix string)

type PowMessage

type PowMessage struct {
	Raw string `json:"raw"`
}

Jump to

Keyboard shortcuts

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