server

package
v0.0.0-...-bd2d25b Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Param

type Param struct {
	Param1 string `json:"param1"`
	Param2 string `json:"param2"`
	Param3 string `json:"param3"`
	Param4 string `json:"param4"`
}

type Router

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

func Init

func Init() *Router

func (*Router) Err

func (r *Router) Err() <-chan error

func (*Router) Run

func (r *Router) Run()

Run blocking

type Service

type Service struct {
}

func (*Service) GetData

func (s *Service) GetData() http.HandlerFunc

func (*Service) SetData

func (s *Service) SetData() http.HandlerFunc

func (*Service) SetData2

func (s *Service) SetData2() http.HandlerFunc

func (*Service) SetJSON

func (s *Service) SetJSON() http.HandlerFunc

func (*Service) SetMulti

func (s *Service) SetMulti() http.HandlerFunc

Jump to

Keyboard shortcuts

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