19059e0a69
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 1s
CI / bff (push) Successful in 26s
CI / chore (push) Successful in 1s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / support (push) Successful in 1s
CI / task (push) Successful in 0s
CI / user (push) Successful in 28s
CI / water (push) Successful in 1s
CI / wecom (push) Successful in 0s
74 lines
2.7 KiB
Go
74 lines
2.7 KiB
Go
// Code generated by goctl. DO NOT EDIT.
|
|
// goctl 1.10.1
|
|
// Source: analysis.proto
|
|
|
|
package analysisstore
|
|
|
|
import (
|
|
"context"
|
|
|
|
"lone-services/rpc/analysis/pb"
|
|
|
|
"github.com/zeromicro/go-zero/zrpc"
|
|
"google.golang.org/grpc"
|
|
)
|
|
|
|
type (
|
|
Response = analysis.Response
|
|
StoreAuthQrcodeReq = analysis.StoreAuthQrcodeReq
|
|
StoreAuthReq = analysis.StoreAuthReq
|
|
StoreInfoReq = analysis.StoreInfoReq
|
|
StoreUserInfoReq = analysis.StoreUserInfoReq
|
|
StoreUserListReq = analysis.StoreUserListReq
|
|
StoreUserUpdateReq = analysis.StoreUserUpdateReq
|
|
|
|
AnalysisStore interface {
|
|
StoreAuth(ctx context.Context, in *StoreAuthReq, opts ...grpc.CallOption) (*Response, error)
|
|
StoreAuthQrcode(ctx context.Context, in *StoreAuthQrcodeReq, opts ...grpc.CallOption) (*Response, error)
|
|
StoreInfo(ctx context.Context, in *StoreInfoReq, opts ...grpc.CallOption) (*Response, error)
|
|
StoreUserList(ctx context.Context, in *StoreUserListReq, opts ...grpc.CallOption) (*Response, error)
|
|
StoreUserUpdate(ctx context.Context, in *StoreUserUpdateReq, opts ...grpc.CallOption) (*Response, error)
|
|
StoreUserInfo(ctx context.Context, in *StoreUserInfoReq, opts ...grpc.CallOption) (*Response, error)
|
|
}
|
|
|
|
defaultAnalysisStore struct {
|
|
cli zrpc.Client
|
|
}
|
|
)
|
|
|
|
func NewAnalysisStore(cli zrpc.Client) AnalysisStore {
|
|
return &defaultAnalysisStore{
|
|
cli: cli,
|
|
}
|
|
}
|
|
|
|
func (m *defaultAnalysisStore) StoreAuth(ctx context.Context, in *StoreAuthReq, opts ...grpc.CallOption) (*Response, error) {
|
|
client := analysis.NewAnalysisStoreClient(m.cli.Conn())
|
|
return client.StoreAuth(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultAnalysisStore) StoreAuthQrcode(ctx context.Context, in *StoreAuthQrcodeReq, opts ...grpc.CallOption) (*Response, error) {
|
|
client := analysis.NewAnalysisStoreClient(m.cli.Conn())
|
|
return client.StoreAuthQrcode(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultAnalysisStore) StoreInfo(ctx context.Context, in *StoreInfoReq, opts ...grpc.CallOption) (*Response, error) {
|
|
client := analysis.NewAnalysisStoreClient(m.cli.Conn())
|
|
return client.StoreInfo(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultAnalysisStore) StoreUserList(ctx context.Context, in *StoreUserListReq, opts ...grpc.CallOption) (*Response, error) {
|
|
client := analysis.NewAnalysisStoreClient(m.cli.Conn())
|
|
return client.StoreUserList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultAnalysisStore) StoreUserUpdate(ctx context.Context, in *StoreUserUpdateReq, opts ...grpc.CallOption) (*Response, error) {
|
|
client := analysis.NewAnalysisStoreClient(m.cli.Conn())
|
|
return client.StoreUserUpdate(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultAnalysisStore) StoreUserInfo(ctx context.Context, in *StoreUserInfoReq, opts ...grpc.CallOption) (*Response, error) {
|
|
client := analysis.NewAnalysisStoreClient(m.cli.Conn())
|
|
return client.StoreUserInfo(ctx, in, opts...)
|
|
}
|