package
0.0.0-20240611131419-2136ef8a6a05
Repository: https://github.com/josephjoshua/remana-backend.git
Documentation: pkg.go.dev

# Functions

NewOptCreateRepairOrderRequestDownPayment returns new OptCreateRepairOrderRequestDownPayment with value set to v.
NewOptCreateRepairOrderRequestPasscode returns new OptCreateRepairOrderRequestPasscode with value set to v.
NewOptString returns new OptString with value set to v.
NewServer creates new Server.
WithErrorHandler specifies error handler to use.
WithMaxMultipartMemory specifies limit of memory for storing file parts.
WithMethodNotAllowed specifies Method Not Allowed handler to use.
WithMiddleware specifies middlewares to use.
WithNotFound specifies Not Found handler to use.
WithPathPrefix specifies server path prefix.

# Constants

No description provided by the author
No description provided by the author

# Structs

AssignPermissionsToRoleNoContent is response for AssignPermissionsToRole operation.
AssignPermissionsToRoleParams is parameters of assignPermissionsToRole operation.
No description provided by the author
No description provided by the author
CreateDamageTypeCreated is response for CreateDamageType operation.
No description provided by the author
CreatePaymentMethodCreated is response for CreatePaymentMethod operation.
No description provided by the author
CreatePhoneConditionCreated is response for CreatePhoneCondition operation.
No description provided by the author
CreatePhoneEquipmentCreated is response for CreatePhoneEquipment operation.
No description provided by the author
CreateRepairOrderCreated is response for CreateRepairOrder operation.
No description provided by the author
No description provided by the author
No description provided by the author
CreateRoleCreated is response for CreateRole operation.
No description provided by the author
CreateSalesPersonCreated is response for CreateSalesPerson operation.
No description provided by the author
CreateTechnicianCreated is response for CreateTechnician operation.
No description provided by the author
No description provided by the author
ErrorStatusCode wraps Error with StatusCode.
GetHealthNoContent is response for GetHealth operation.
No description provided by the author
LoginCodePromptNoContent is response for LoginCodePrompt operation.
No description provided by the author
No description provided by the author
LogoutResetContent is response for Logout operation.
OptCreateRepairOrderRequestDownPayment is optional CreateRepairOrderRequestDownPayment.
OptCreateRepairOrderRequestPasscode is optional CreateRepairOrderRequestPasscode.
OptString is optional string.
Route is route object.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
No description provided by the author
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Handler handles operations described by OpenAPI v3 specification.
Option is config option.
SecurityHandler is handler for security parameters.
ServerOption is server config option.

# Type aliases

ErrorHandler is error handler.
The type of user that logged in: * `admin` - Store admin.
Middleware is middleware type.