webapi

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package webapi : WEB API

Package webapi : WEB API

Package webapi : WEB API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(p *WebAPI)

func Stop

func Stop()

Types

type PingReq added in v1.12.0

type PingReq struct {
	IP   string
	Size int
}

type PingRes added in v1.12.0

type PingRes struct {
	Stat      int
	TimeStamp int64
	Time      int64
	Size      int
}

type WebAPI

type WebAPI struct {
	Statik        http.Handler
	Port          string
	UseTLS        bool
	Host          string
	IP            string
	Local         bool
	Password      string
	DataStorePath string
	Version       string
}

Jump to

Keyboard shortcuts

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