Documentation ¶
Index ¶
- Constants
- type Connector
- func (this *Connector) Config() core.IEntityConf
- func (this *Connector) EntityStub() *core.EntityStub
- func (this *Connector) HandleFileRequest(c *fiber.Ctx, data htypes.Any) (bool, *herrors.Error)
- func (this *Connector) Open(gw core.IAPIGateway, ins core.IAPIConnector) *herrors.Error
- func (this *Connector) ParseBodyParams(c *fiber.Ctx, ps htypes.Map) *herrors.Error
- func (this *Connector) ParseFormParams(c *fiber.Ctx, ps htypes.Map) *herrors.Error
- func (this *Connector) ParseHeaderParams(c *fiber.Ctx, ps htypes.Map) *herrors.Error
- func (this *Connector) ParseQueryParams(c *fiber.Ctx) (htypes.Map, *herrors.Error)
- func (this *Connector) SendResponse(c *fiber.Ctx, data htypes.Any, err *herrors.Error)
- type ResponseData
- type WebConnector
Constants ¶
View Source
const ( DownloadFlag = "FILE-DOWNLOAD" PreviewFlag = "FILE-PREVIEW" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct { core.BaseConnector App *fiber.App // contains filtered or unexported fields }
func (*Connector) Config ¶
func (this *Connector) Config() core.IEntityConf
func (*Connector) EntityStub ¶
func (this *Connector) EntityStub() *core.EntityStub
func (*Connector) HandleFileRequest ¶
func (*Connector) Open ¶
func (this *Connector) Open(gw core.IAPIGateway, ins core.IAPIConnector) *herrors.Error
func (*Connector) ParseBodyParams ¶
func (*Connector) ParseFormParams ¶
func (*Connector) ParseHeaderParams ¶
func (*Connector) ParseQueryParams ¶
type ResponseData ¶
func NewResponseData ¶
func NewResponseData(data htypes.Any, err *herrors.Error) *ResponseData
Click to show internal directories.
Click to hide internal directories.