http

package
v0.0.0-...-542bf9e Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Start http api

Types

type CheckRet

type CheckRet struct {
	Matched bool         `json:"matched"`
	Body    []*MatchBody `json:"body"`
}

func CheckLogByStrategy

func CheckLogByStrategy(content string) *CheckRet

func NewCheckRet

func NewCheckRet() *CheckRet

type MatchBody

type MatchBody struct {
	Strategy *scheme.Strategy  `json:"strategy"`
	Detail   map[string]string `json:"detail"`
}

Jump to

Keyboard shortcuts

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