Documentation ¶
Index ¶
- Constants
- Variables
- func Delete(ctx contractshttp.Context) contractshttp.Response
- func Get(ctx contractshttp.Context) contractshttp.Response
- 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 ServiceProvider
Constants ¶
View Source
const Binding = "gateway"
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 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 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.