service auth registration
This commit is contained in:
parent
6eda67db60
commit
287b1f5a30
7 changed files with 478 additions and 0 deletions
9
pkg/authReg/interface.go
Normal file
9
pkg/authReg/interface.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package authReg
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type ServiceRegistrar interface {
|
||||
AuthenticateOrRegister(ctx context.Context, req *RegRequest) (*RegResponse, error)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue