server

package
v0.0.0-...-6d82aa7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter() *gin.Engine

Types

type MerchantHandler

type MerchantHandler struct {
	// contains filtered or unexported fields
}

func NewMerchantHandler

func NewMerchantHandler(svc *application.MerchantService) *MerchantHandler

func (*MerchantHandler) Signin

func (h *MerchantHandler) Signin(c *gin.Context)

func (*MerchantHandler) Signup

func (h *MerchantHandler) Signup(c *gin.Context)

type Response

type Response struct {
	Errors []*faults.Faults `json:"errors"`
	Data   any              `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL