http

package
v0.0.0-...-5032473 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Router *gin.Engine
)

Functions

This section is empty.

Types

type Http

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

func (*Http) CheckConfig

func (h *Http) CheckConfig() error

func (*Http) DoInteract

func (h *Http) DoInteract()

func (*Http) SetConfig

func (h *Http) SetConfig(conf interface{})

func (*Http) Stop

func (h *Http) Stop()

type Interface

type Interface struct {
	Name    string `validate:"required"`
	Method  string `validate:"required"`
	Path    string `validate:"required"`
	Timeout int
	Stages  []Stage
}

type Stage

type Stage struct {
	Name string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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