Documentation ¶
Index ¶
- type MicroService
- func (ms *MicroService) Add(method string, path string, api *api.HTTP)
- func (ms *MicroService) AppendMiddlewareOnEnd(handler godd.HandlerCycle)
- func (ms *MicroService) AppendMiddlewareOnStart(handler godd.HandlerCycle)
- func (ms *MicroService) Delete(path string, api *api.HTTP)
- func (ms *MicroService) Get(path string, api *api.HTTP)
- func (ms *MicroService) NewOne() *MicroService
- func (ms *MicroService) Override() *godd.APILifeCycle
- func (ms *MicroService) Patch(path string, api *api.HTTP)
- func (ms *MicroService) Post(path string, api *api.HTTP)
- func (ms *MicroService) Put(path string, api *api.HTTP)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MicroService ¶
type MicroService struct {
// contains filtered or unexported fields
}
MicroService Struct
func New ¶
func New(interfaceApp godd.InterfaceApp, path string, service interface{}, serviceOptionList map[string]interface{}, i18n *godd.I18N) *MicroService
New API
func (*MicroService) Add ¶
func (ms *MicroService) Add(method string, path string, api *api.HTTP)
Add API
func (*MicroService) AppendMiddlewareOnEnd ¶
func (ms *MicroService) AppendMiddlewareOnEnd(handler godd.HandlerCycle)
AppendMiddlewareOnEnd func
func (*MicroService) AppendMiddlewareOnStart ¶
func (ms *MicroService) AppendMiddlewareOnStart(handler godd.HandlerCycle)
AppendMiddlewareOnStart func
func (*MicroService) NewOne ¶
func (ms *MicroService) NewOne() *MicroService
NewOne is New Microservice with Clear Middleware
func (*MicroService) Override ¶
func (ms *MicroService) Override() *godd.APILifeCycle
Override Func API
Click to show internal directories.
Click to hide internal directories.