add admin authenticate
This commit is contained in:
1 parent
5b115440f1
commit
0edf80ffed
10 files changed
+128
-38
No files matched your search
@@ -5,11 +5,7 @@ import (
|
||||
"google.golang.org/grpc/codes"
|
||||
)
|
||||
|
||||
var Error errorHelper
|
||||
|
||||
type errorHelper struct{}
|
||||
|
||||
func (errorHelper) create(status codes.Code) ErrorDescription {
|
||||
func createError(status codes.Code) ErrorDescription {
|
||||
return ErrorDescription{grpcStatus: status}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user