micro

package module
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	S = &SERVICE{}
)

Functions

This section is empty.

Types

type SERVICE added in v0.1.6

type SERVICE struct {
	Mux *http.ServeMux
}
func (POST) Check(r *http.Request) (response []byte, err error) {
	msg := "POST.Check"
	return json.Marshal(&Response{Result: msg})
}

func (*SERVICE) Register added in v0.1.6

func (s *SERVICE) Register(hands ...interface{}) *SERVICE

func (*SERVICE) Start added in v0.1.6

func (s *SERVICE) Start(port, timeout int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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