Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddQueue ¶
func AddQueue(ctx *fasthttp.RequestCtx)
for add user to queue
url: http://localhost:8020/banks/@id/queue/add method:GET params:
@id= bank id token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXNzd29yZCI6IjExZjE5Y2M2Njg2Y2QxOWI1NTM2OTI1YmU3ODNlMDRlZjlmZDViZDk1MTVmMzA1YmQ5OTE4NjZmM2YwMGRmNjAiLCJ1c2VybmFtZSI6IjA5MTIxMjEyMzEifQ.eTH8Qo8P_MZ7Ui1WOm4Cl-9VHLiDiq4Z668cobhJdFM
func CancelQueue ¶
func CancelQueue(ctx *fasthttp.RequestCtx)
func GetBanks ¶
func GetBanks(ctx *fasthttp.RequestCtx)
func Index ¶
func Index(ctx *fasthttp.RequestCtx)
cancel turn
url: http://localhost:8020/bank/@bank_id/queue/@turn_number/cancel method:GET params:
@bank_id = bank id @turn_number = user turn number in bank queue token= eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXNzd29yZCI6ImU3Y2YzZWY0ZjE3YzM5OTlhOTRmMmM2ZjYxMmU4YTg4OGU1YjEwMjY4NzhlNGUxOTM5OGIyM2JkMzhlYzIyMWEiLCJ1c2VybmFtZSI6IjA5MDMzNjA2NzM0In0.ynvqlkGkEiA0RKAlXoiF5fWC_4urZFh_uvej9nYs_dA
func RunQueue ¶
func RunQueue(ctx *fasthttp.RequestCtx)
for bank operator run queue
url: http://localhost:8020/banks/@bank_id/queue/run method:GET params:
@bank_id = bank id token= eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXNzd29yZCI6ImU3Y2YzZWY0ZjE3YzM5OTlhOTRmMmM2ZjYxMmU4YTg4OGU1YjEwMjY4NzhlNGUxOTM5OGIyM2JkMzhlYzIyMWEiLCJ1c2VybmFtZSI6IjA5MDMzNjA2NzM0In0.ynvqlkGkEiA0RKAlXoiF5fWC_4urZFh_uvej9nYs_dA
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.