service auth registration
This commit is contained in:
parent
6eda67db60
commit
287b1f5a30
7 changed files with 478 additions and 0 deletions
15
pkg/authReg/struct.go
Normal file
15
pkg/authReg/struct.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package authReg
|
||||
|
||||
type RegRequest struct {
|
||||
Name string
|
||||
Description string
|
||||
BaseCode int
|
||||
EndCode int
|
||||
SecretHash string
|
||||
Status string
|
||||
}
|
||||
|
||||
type RegResponse struct {
|
||||
ServiceId int32
|
||||
AlreadyRegistered bool
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue