-
Notifications
You must be signed in to change notification settings - Fork 28
/
web_grpc_proxy.pb.go
48 lines (41 loc) · 1.61 KB
/
web_grpc_proxy.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
// Code generated by protoc-gen-go-grpc-proxy. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc-proxy v1.2.0
// - protoc (unknown)
// source: user/api/auth/v1/web.proto
package v1
import (
context "context"
grpc "google.golang.org/grpc"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
var _ AuthWebServer = (*authWebClientProxy)(nil)
// authWebClientProxy is the proxy to turn AuthWeb client to server interface.
//
type authWebClientProxy struct {
cc AuthWebClient
}
func NewAuthWebClientProxy(cc AuthWebClient) AuthWebServer {
return &authWebClientProxy{cc}
}
func (c *authWebClientProxy) GetWebLogin(ctx context.Context, in *GetLoginRequest) (*GetLoginResponse, error) {
return c.cc.GetWebLogin(ctx, in)
}
func (c *authWebClientProxy) WebLogin(ctx context.Context, in *WebLoginAuthRequest) (*WebLoginAuthReply, error) {
return c.cc.WebLogin(ctx, in)
}
func (c *authWebClientProxy) GetWebLogout(ctx context.Context, in *GetLogoutRequest) (*GetLogoutResponse, error) {
return c.cc.GetWebLogout(ctx, in)
}
func (c *authWebClientProxy) WebLogout(ctx context.Context, in *LogoutRequest) (*LogoutResponse, error) {
return c.cc.WebLogout(ctx, in)
}
func (c *authWebClientProxy) GetConsent(ctx context.Context, in *GetConsentRequest) (*GetConsentResponse, error) {
return c.cc.GetConsent(ctx, in)
}
func (c *authWebClientProxy) GrantConsent(ctx context.Context, in *GrantConsentRequest) (*GrantConsentResponse, error) {
return c.cc.GrantConsent(ctx, in)
}