usecase

package
v0.0.0-...-252cfec Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonRes

func JsonRes(ctx iris.Context, ticketID string, err error,
	data interface{})

func NewWebServer

func NewWebServer(config *config.HTTPConfig) ifs.WebServer

func ParseJsonErr

func ParseJsonErr(ctx iris.Context, ticketID string, err error)

Types

type IrisWebServer

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

func (*IrisWebServer) AddHandlers

func (s *IrisWebServer) AddHandlers(path string, handlers map[string]context.Handler) error

func (*IrisWebServer) Run

func (s *IrisWebServer) Run() error

Jump to

Keyboard shortcuts

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