add admin authenticate

This commit is contained in:
DeniskaRediska committed 2019-10-25 11:31:18 +03:00
1 parent 5b115440f1
commit 0edf80ffed
10 files changed
+128 -38

No files matched your search

+1 -5
View File
@@ -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}
}