Documentation ¶
Index ¶
- func GRPCCallWithBody[InputT any, ClientT interface{}, OutputT proto.Message](serviceUrl string, clientConstructor func(cc grpc.ClientConnInterface) ClientT, ...) func(ctx *fiber.Ctx) error
- func GRPCCallWithQueryParams[InputT any, ClientT interface{}, OutputT proto.Message](serviceUrl string, clientConstructor func(cc grpc.ClientConnInterface) ClientT, ...) func(ctx *fiber.Ctx) error
- func InitAndServe()
- func SendError(ctx *fiber.Ctx, err error) error
- type LoginBody
- type Options
- type WeStack
- func (app *WeStack) Boot(customRoutesCallbacks ...func(app *WeStack))
- func (app *WeStack) FindDatasource(dsName string) (*datasource.Datasource, error)
- func (app *WeStack) FindModel(modelName string) (*model.Model, error)
- func (app *WeStack) Middleware(handler fiber.Handler)
- func (app *WeStack) Start() error
- func (app *WeStack) Stop() error
- func (app *WeStack) SwaggerPaths() *map[string]wst.M
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPCCallWithBody ¶ added in v1.4.1
func GRPCCallWithQueryParams ¶ added in v1.4.1
func InitAndServe ¶ added in v1.3.6
func InitAndServe()
Types ¶
type WeStack ¶
type WeStack struct { Server *fiber.App Viper *viper.Viper DsViper *viper.Viper Options Options // contains filtered or unexported fields }
func (*WeStack) FindDatasource ¶ added in v1.2.94
func (app *WeStack) FindDatasource(dsName string) (*datasource.Datasource, error)
func (*WeStack) Middleware ¶ added in v1.3.6
Click to show internal directories.
Click to hide internal directories.