Documentation
¶
Index ¶
- Constants
- Variables
- func Delete(ctx contractshttp.Context) contractshttp.Response
- func Get(ctx contractshttp.Context) contractshttp.Response
- func Inject[V NumberOrString](ctx contractshttp.Context, key string, value V)
- func Patch(ctx contractshttp.Context) contractshttp.Response
- func Post(ctx contractshttp.Context) contractshttp.Response
- func Put(ctx contractshttp.Context) contractshttp.Response
- type Api
- type Gateway
- type Grpc
- type Handler
- type NumberOrString
- type ServiceProvider
Constants ¶
View Source
const Binding = "gateway"
View Source
const InjectKey = "gateway-inject"
Variables ¶
View Source
var ( App foundation.Application FacadesConfig config.Config )
Functions ¶
func Delete ¶
func Delete(ctx contractshttp.Context) contractshttp.Response
func Get ¶
func Get(ctx contractshttp.Context) contractshttp.Response
func Inject ¶ added in v0.0.3
func Inject[V NumberOrString](ctx contractshttp.Context, key string, value V)
func Patch ¶
func Patch(ctx contractshttp.Context) contractshttp.Response
func Post ¶
func Post(ctx contractshttp.Context) contractshttp.Response
func Put ¶
func Put(ctx contractshttp.Context) contractshttp.Response
Types ¶
type Gateway ¶
type Gateway struct {
// contains filtered or unexported fields
}
func NewGateway ¶
func NewGateway(config config.Config, grpc contractsgrpc.Grpc) *Gateway
type NumberOrString ¶ added in v0.0.3
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (receiver *ServiceProvider) Boot(app foundation.Application)
func (*ServiceProvider) Register ¶
func (receiver *ServiceProvider) Register(app foundation.Application)
Click to show internal directories.
Click to hide internal directories.