This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
register.services.pb.go
53 lines (43 loc) · 1.69 KB
/
register.services.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Code generated by protoc-gen-go-register. DO NOT EDIT.
// Sources: authentication.proto
package pb
import (
reflect "reflect"
transport "github.com/erda-project/erda-infra/pkg/transport"
)
// RegisterAuthenticationServiceImp authentication.proto
func RegisterAuthenticationServiceImp(regester transport.Register, srv AuthenticationServiceServer, opts ...transport.ServiceOption) {
_ops := transport.DefaultServiceOptions()
for _, op := range opts {
op(_ops)
}
RegisterAuthenticationServiceHandler(regester, AuthenticationServiceHandler(srv), _ops.HTTP...)
RegisterAuthenticationServiceServer(regester, srv, _ops.GRPC...)
}
// ServiceNames return all service names
func ServiceNames(svr ...string) []string {
return append(svr,
"erda.core.services.authentication.AuthenticationService",
)
}
var (
authenticationServiceClientType = reflect.TypeOf((*AuthenticationServiceClient)(nil)).Elem()
authenticationServiceServerType = reflect.TypeOf((*AuthenticationServiceServer)(nil)).Elem()
authenticationServiceHandlerType = reflect.TypeOf((*AuthenticationServiceHandler)(nil)).Elem()
)
// AuthenticationServiceClientType .
func AuthenticationServiceClientType() reflect.Type { return authenticationServiceClientType }
// AuthenticationServiceServerType .
func AuthenticationServiceServerType() reflect.Type { return authenticationServiceServerType }
// AuthenticationServiceHandlerType .
func AuthenticationServiceHandlerType() reflect.Type { return authenticationServiceHandlerType }
func Types() []reflect.Type {
return []reflect.Type{
// client types
authenticationServiceClientType,
// server types
authenticationServiceServerType,
// handler types
authenticationServiceHandlerType,
}
}