Use generator to generate exceptions from yaml
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
20
internal/exception/endpoint_gen.go
Normal file
20
internal/exception/endpoint_gen.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// Code generated by gen-exception; DO NOT EDIT.
|
||||
package exception
|
||||
|
||||
const (
|
||||
EndpointAuthServiceExchange = "05"
|
||||
EndpointAuthServiceRedirect = "01"
|
||||
EndpointAuthServiceMagic = "02"
|
||||
EndpointAuthServiceToken = "03"
|
||||
EndpointAuthServiceRefresh = "04"
|
||||
EndpointEventServiceCheckinQuery = "03"
|
||||
EndpointEventServiceCheckinSubmit = "04"
|
||||
EndpointEventServiceInfo = "01"
|
||||
EndpointEventServiceCheckin = "02"
|
||||
EndpointUserServiceList = "03"
|
||||
EndpointUserServiceFull = "04"
|
||||
EndpointUserServiceCreate = "05"
|
||||
EndpointUserServiceInfo = "01"
|
||||
EndpointUserServiceUpdate = "02"
|
||||
EndpointMiddlewareService = "01"
|
||||
)
|
||||
Reference in New Issue
Block a user