microservice

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP added in v0.0.46

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

func (*HTTP) Add added in v0.0.46

func (msHTTP *HTTP) Add(method string, path string, api *goddAPI.API)

Add API

func (*HTTP) Delete added in v0.0.46

func (msHTTP *HTTP) Delete(path string, api *goddAPI.API)

Delete API

func (*HTTP) Get added in v0.0.46

func (msHTTP *HTTP) Get(path string, api *goddAPI.API)

Get API

func (*HTTP) Patch added in v0.0.46

func (msHTTP *HTTP) Patch(path string, api *goddAPI.API)

Patch API

func (*HTTP) Post added in v0.0.46

func (msHTTP *HTTP) Post(path string, api *goddAPI.API)

Post API

func (*HTTP) Put added in v0.0.46

func (msHTTP *HTTP) Put(path string, api *goddAPI.API)

Put API

type MicroService

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

MicroService Struct

func New

func New(interfaceApp godd.InterfaceApp, path string, context *godd.Context) *MicroService

New API

func (*MicroService) AppendMiddlewareEndList added in v0.0.46

func (ms *MicroService) AppendMiddlewareEndList(handler goddAPILifeCycle.OnPreResponse)

AppendMiddlewareEndList func

func (*MicroService) AppendMiddlewareStartList added in v0.0.46

func (ms *MicroService) AppendMiddlewareStartList(handler goddAPILifeCycle.HandlerCycle)

AppendMiddlewareStartList func

func (*MicroService) HTTP added in v0.0.46

func (ms *MicroService) HTTP() *HTTP

func (*MicroService) NewOne

func (ms *MicroService) NewOne() *MicroService

NewOne is New Microservice with Clear Middleware

func (*MicroService) Override

func (ms *MicroService) Override() *goddAPILifeCycle.APILifeCycle

Override Func API

Jump to

Keyboard shortcuts

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