api

package
v0.0.0-...-aaf5496 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallBackHandler

func CallBackHandler(ctx *fasthttp.RequestCtx)

func GetServerLogs

func GetServerLogs(ctx *fasthttp.RequestCtx)

func InitDoHandle

func InitDoHandle(i IHandle)

func Run

func Run(listenPort, staticPath string) error

func ServStatic

func ServStatic(ctx *fasthttp.RequestCtx)

func StatusHandlerV1

func StatusHandlerV1(ctx *fasthttp.RequestCtx)

Types

type IHandle

type IHandle interface {
	NotifyHandler(notifyType string, postBody []byte) error
}
var DoHandle IHandle

Jump to

Keyboard shortcuts

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