Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCallbackServiceServer(s grpc.ServiceRegistrar, srv CallbackServiceServer)
- func RegisterTxCheckServiceServer(s grpc.ServiceRegistrar, srv TxCheckServiceServer)
- type CallbackServiceClient
- type CallbackServiceServer
- type SendResultNotifyRequest
- func (*SendResultNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendResultNotifyRequest) GetNotificationId() uint64
- func (x *SendResultNotifyRequest) GetOriRequest() *v1.SendRequest
- func (x *SendResultNotifyRequest) GetResult() *v1.SendResult
- func (*SendResultNotifyRequest) ProtoMessage()
- func (x *SendResultNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *SendResultNotifyRequest) Reset()
- func (x *SendResultNotifyRequest) String() string
- func (m *SendResultNotifyRequest) Validate() error
- func (m *SendResultNotifyRequest) ValidateAll() error
- type SendResultNotifyRequestMultiError
- type SendResultNotifyRequestValidationError
- func (e SendResultNotifyRequestValidationError) Cause() error
- func (e SendResultNotifyRequestValidationError) Error() string
- func (e SendResultNotifyRequestValidationError) ErrorName() string
- func (e SendResultNotifyRequestValidationError) Field() string
- func (e SendResultNotifyRequestValidationError) Key() bool
- func (e SendResultNotifyRequestValidationError) Reason() string
- type SendResultNotifyResponse
- func (*SendResultNotifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendResultNotifyResponse) GetSuccess() bool
- func (*SendResultNotifyResponse) ProtoMessage()
- func (x *SendResultNotifyResponse) ProtoReflect() protoreflect.Message
- func (x *SendResultNotifyResponse) Reset()
- func (x *SendResultNotifyResponse) String() string
- func (m *SendResultNotifyResponse) Validate() error
- func (m *SendResultNotifyResponse) ValidateAll() error
- type SendResultNotifyResponseMultiError
- type SendResultNotifyResponseValidationError
- func (e SendResultNotifyResponseValidationError) Cause() error
- func (e SendResultNotifyResponseValidationError) Error() string
- func (e SendResultNotifyResponseValidationError) ErrorName() string
- func (e SendResultNotifyResponseValidationError) Field() string
- func (e SendResultNotifyResponseValidationError) Key() bool
- func (e SendResultNotifyResponseValidationError) Reason() string
- type TxCheckServiceCheckRequest
- func (*TxCheckServiceCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TxCheckServiceCheckRequest) GetKey() string
- func (*TxCheckServiceCheckRequest) ProtoMessage()
- func (x *TxCheckServiceCheckRequest) ProtoReflect() protoreflect.Message
- func (x *TxCheckServiceCheckRequest) Reset()
- func (x *TxCheckServiceCheckRequest) String() string
- func (m *TxCheckServiceCheckRequest) Validate() error
- func (m *TxCheckServiceCheckRequest) ValidateAll() error
- type TxCheckServiceCheckRequestMultiError
- type TxCheckServiceCheckRequestValidationError
- func (e TxCheckServiceCheckRequestValidationError) Cause() error
- func (e TxCheckServiceCheckRequestValidationError) Error() string
- func (e TxCheckServiceCheckRequestValidationError) ErrorName() string
- func (e TxCheckServiceCheckRequestValidationError) Field() string
- func (e TxCheckServiceCheckRequestValidationError) Key() bool
- func (e TxCheckServiceCheckRequestValidationError) Reason() string
- type TxCheckServiceCheckResponse
- func (*TxCheckServiceCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (*TxCheckServiceCheckResponse) ProtoMessage()
- func (x *TxCheckServiceCheckResponse) ProtoReflect() protoreflect.Message
- func (x *TxCheckServiceCheckResponse) Reset()
- func (x *TxCheckServiceCheckResponse) String() string
- func (m *TxCheckServiceCheckResponse) Validate() error
- func (m *TxCheckServiceCheckResponse) ValidateAll() error
- type TxCheckServiceCheckResponseMultiError
- type TxCheckServiceCheckResponseValidationError
- func (e TxCheckServiceCheckResponseValidationError) Cause() error
- func (e TxCheckServiceCheckResponseValidationError) Error() string
- func (e TxCheckServiceCheckResponseValidationError) ErrorName() string
- func (e TxCheckServiceCheckResponseValidationError) Field() string
- func (e TxCheckServiceCheckResponseValidationError) Key() bool
- func (e TxCheckServiceCheckResponseValidationError) Reason() string
- type TxCheckServiceCheckResponse_ResponseStatus
- func (TxCheckServiceCheckResponse_ResponseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x TxCheckServiceCheckResponse_ResponseStatus) Enum() *TxCheckServiceCheckResponse_ResponseStatus
- func (TxCheckServiceCheckResponse_ResponseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x TxCheckServiceCheckResponse_ResponseStatus) Number() protoreflect.EnumNumber
- func (x TxCheckServiceCheckResponse_ResponseStatus) String() string
- func (TxCheckServiceCheckResponse_ResponseStatus) Type() protoreflect.EnumType
- type TxCheckServiceClient
- type TxCheckServiceServer
- type UnimplementedCallbackServiceServer
- type UnimplementedTxCheckServiceServer
- type UnsafeCallbackServiceServer
- type UnsafeTxCheckServiceServer
Constants ¶
const (
CallbackService_SendResultNotify_FullMethodName = "/client.v1.CallbackService/SendResultNotify"
)
const (
TxCheckService_Check_FullMethodName = "/client.v1.TxCheckService/Check"
)
Variables ¶
var ( TxCheckServiceCheckResponse_ResponseStatus_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "COMMITTED", 2: "CANCELED", } TxCheckServiceCheckResponse_ResponseStatus_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "COMMITTED": 1, "CANCELED": 2, } )
Enum value maps for TxCheckServiceCheckResponse_ResponseStatus.
var CallbackService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "client.v1.CallbackService", HandlerType: (*CallbackServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendResultNotify", Handler: _CallbackService_SendResultNotify_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "client/v1/notification.proto", }
CallbackService_ServiceDesc is the grpc.ServiceDesc for CallbackService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_client_v1_notification_proto protoreflect.FileDescriptor
var File_client_v1_tx_notification_proto protoreflect.FileDescriptor
var TxCheckService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "client.v1.TxCheckService", HandlerType: (*TxCheckServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Check", Handler: _TxCheckService_Check_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "client/v1/tx_notification.proto", }
TxCheckService_ServiceDesc is the grpc.ServiceDesc for TxCheckService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCallbackServiceServer ¶
func RegisterCallbackServiceServer(s grpc.ServiceRegistrar, srv CallbackServiceServer)
func RegisterTxCheckServiceServer ¶
func RegisterTxCheckServiceServer(s grpc.ServiceRegistrar, srv TxCheckServiceServer)
Types ¶
type CallbackServiceClient ¶
type CallbackServiceClient interface {
SendResultNotify(ctx context.Context, in *SendResultNotifyRequest, opts ...grpc.CallOption) (*SendResultNotifyResponse, error)
}
CallbackServiceClient is the client API for CallbackService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCallbackServiceClient ¶
func NewCallbackServiceClient(cc grpc.ClientConnInterface) CallbackServiceClient
type CallbackServiceServer ¶
type CallbackServiceServer interface {
SendResultNotify(context.Context, *SendResultNotifyRequest) (*SendResultNotifyResponse, error)
}
CallbackServiceServer is the server API for CallbackService service. All implementations should embed UnimplementedCallbackServiceServer for forward compatibility.
type SendResultNotifyRequest ¶
type SendResultNotifyRequest struct { NotificationId uint64 `protobuf:"varint,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` OriRequest *v1.SendRequest `protobuf:"bytes,2,opt,name=ori_request,json=oriRequest,proto3" json:"ori_request,omitempty"` Result *v1.SendResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SendResultNotifyRequest) Descriptor
deprecated
func (*SendResultNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendResultNotifyRequest.ProtoReflect.Descriptor instead.
func (*SendResultNotifyRequest) GetNotificationId ¶
func (x *SendResultNotifyRequest) GetNotificationId() uint64
func (*SendResultNotifyRequest) GetOriRequest ¶
func (x *SendResultNotifyRequest) GetOriRequest() *v1.SendRequest
func (*SendResultNotifyRequest) GetResult ¶
func (x *SendResultNotifyRequest) GetResult() *v1.SendResult
func (*SendResultNotifyRequest) ProtoMessage ¶
func (*SendResultNotifyRequest) ProtoMessage()
func (*SendResultNotifyRequest) ProtoReflect ¶
func (x *SendResultNotifyRequest) ProtoReflect() protoreflect.Message
func (*SendResultNotifyRequest) Reset ¶
func (x *SendResultNotifyRequest) Reset()
func (*SendResultNotifyRequest) String ¶
func (x *SendResultNotifyRequest) String() string
func (*SendResultNotifyRequest) Validate ¶
func (m *SendResultNotifyRequest) Validate() error
Validate checks the field values on SendResultNotifyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendResultNotifyRequest) ValidateAll ¶
func (m *SendResultNotifyRequest) ValidateAll() error
ValidateAll checks the field values on SendResultNotifyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendResultNotifyRequestMultiError, or nil if none found.
type SendResultNotifyRequestMultiError ¶
type SendResultNotifyRequestMultiError []error
SendResultNotifyRequestMultiError is an error wrapping multiple validation errors returned by SendResultNotifyRequest.ValidateAll() if the designated constraints aren't met.
func (SendResultNotifyRequestMultiError) AllErrors ¶
func (m SendResultNotifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendResultNotifyRequestMultiError) Error ¶
func (m SendResultNotifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendResultNotifyRequestValidationError ¶
type SendResultNotifyRequestValidationError struct {
// contains filtered or unexported fields
}
SendResultNotifyRequestValidationError is the validation error returned by SendResultNotifyRequest.Validate if the designated constraints aren't met.
func (SendResultNotifyRequestValidationError) Cause ¶
func (e SendResultNotifyRequestValidationError) Cause() error
Cause function returns cause value.
func (SendResultNotifyRequestValidationError) Error ¶
func (e SendResultNotifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendResultNotifyRequestValidationError) ErrorName ¶
func (e SendResultNotifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendResultNotifyRequestValidationError) Field ¶
func (e SendResultNotifyRequestValidationError) Field() string
Field function returns field value.
func (SendResultNotifyRequestValidationError) Key ¶
func (e SendResultNotifyRequestValidationError) Key() bool
Key function returns key value.
func (SendResultNotifyRequestValidationError) Reason ¶
func (e SendResultNotifyRequestValidationError) Reason() string
Reason function returns reason value.
type SendResultNotifyResponse ¶
type SendResultNotifyResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*SendResultNotifyResponse) Descriptor
deprecated
func (*SendResultNotifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendResultNotifyResponse.ProtoReflect.Descriptor instead.
func (*SendResultNotifyResponse) GetSuccess ¶
func (x *SendResultNotifyResponse) GetSuccess() bool
func (*SendResultNotifyResponse) ProtoMessage ¶
func (*SendResultNotifyResponse) ProtoMessage()
func (*SendResultNotifyResponse) ProtoReflect ¶
func (x *SendResultNotifyResponse) ProtoReflect() protoreflect.Message
func (*SendResultNotifyResponse) Reset ¶
func (x *SendResultNotifyResponse) Reset()
func (*SendResultNotifyResponse) String ¶
func (x *SendResultNotifyResponse) String() string
func (*SendResultNotifyResponse) Validate ¶
func (m *SendResultNotifyResponse) Validate() error
Validate checks the field values on SendResultNotifyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendResultNotifyResponse) ValidateAll ¶
func (m *SendResultNotifyResponse) ValidateAll() error
ValidateAll checks the field values on SendResultNotifyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendResultNotifyResponseMultiError, or nil if none found.
type SendResultNotifyResponseMultiError ¶
type SendResultNotifyResponseMultiError []error
SendResultNotifyResponseMultiError is an error wrapping multiple validation errors returned by SendResultNotifyResponse.ValidateAll() if the designated constraints aren't met.
func (SendResultNotifyResponseMultiError) AllErrors ¶
func (m SendResultNotifyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendResultNotifyResponseMultiError) Error ¶
func (m SendResultNotifyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendResultNotifyResponseValidationError ¶
type SendResultNotifyResponseValidationError struct {
// contains filtered or unexported fields
}
SendResultNotifyResponseValidationError is the validation error returned by SendResultNotifyResponse.Validate if the designated constraints aren't met.
func (SendResultNotifyResponseValidationError) Cause ¶
func (e SendResultNotifyResponseValidationError) Cause() error
Cause function returns cause value.
func (SendResultNotifyResponseValidationError) Error ¶
func (e SendResultNotifyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendResultNotifyResponseValidationError) ErrorName ¶
func (e SendResultNotifyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendResultNotifyResponseValidationError) Field ¶
func (e SendResultNotifyResponseValidationError) Field() string
Field function returns field value.
func (SendResultNotifyResponseValidationError) Key ¶
func (e SendResultNotifyResponseValidationError) Key() bool
Key function returns key value.
func (SendResultNotifyResponseValidationError) Reason ¶
func (e SendResultNotifyResponseValidationError) Reason() string
Reason function returns reason value.
type TxCheckServiceCheckRequest ¶
type TxCheckServiceCheckRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*TxCheckServiceCheckRequest) Descriptor
deprecated
func (*TxCheckServiceCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use TxCheckServiceCheckRequest.ProtoReflect.Descriptor instead.
func (*TxCheckServiceCheckRequest) GetKey ¶
func (x *TxCheckServiceCheckRequest) GetKey() string
func (*TxCheckServiceCheckRequest) ProtoMessage ¶
func (*TxCheckServiceCheckRequest) ProtoMessage()
func (*TxCheckServiceCheckRequest) ProtoReflect ¶
func (x *TxCheckServiceCheckRequest) ProtoReflect() protoreflect.Message
func (*TxCheckServiceCheckRequest) Reset ¶
func (x *TxCheckServiceCheckRequest) Reset()
func (*TxCheckServiceCheckRequest) String ¶
func (x *TxCheckServiceCheckRequest) String() string
func (*TxCheckServiceCheckRequest) Validate ¶
func (m *TxCheckServiceCheckRequest) Validate() error
Validate checks the field values on TxCheckServiceCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TxCheckServiceCheckRequest) ValidateAll ¶
func (m *TxCheckServiceCheckRequest) ValidateAll() error
ValidateAll checks the field values on TxCheckServiceCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TxCheckServiceCheckRequestMultiError, or nil if none found.
type TxCheckServiceCheckRequestMultiError ¶
type TxCheckServiceCheckRequestMultiError []error
TxCheckServiceCheckRequestMultiError is an error wrapping multiple validation errors returned by TxCheckServiceCheckRequest.ValidateAll() if the designated constraints aren't met.
func (TxCheckServiceCheckRequestMultiError) AllErrors ¶
func (m TxCheckServiceCheckRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TxCheckServiceCheckRequestMultiError) Error ¶
func (m TxCheckServiceCheckRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TxCheckServiceCheckRequestValidationError ¶
type TxCheckServiceCheckRequestValidationError struct {
// contains filtered or unexported fields
}
TxCheckServiceCheckRequestValidationError is the validation error returned by TxCheckServiceCheckRequest.Validate if the designated constraints aren't met.
func (TxCheckServiceCheckRequestValidationError) Cause ¶
func (e TxCheckServiceCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (TxCheckServiceCheckRequestValidationError) Error ¶
func (e TxCheckServiceCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TxCheckServiceCheckRequestValidationError) ErrorName ¶
func (e TxCheckServiceCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TxCheckServiceCheckRequestValidationError) Field ¶
func (e TxCheckServiceCheckRequestValidationError) Field() string
Field function returns field value.
func (TxCheckServiceCheckRequestValidationError) Key ¶
func (e TxCheckServiceCheckRequestValidationError) Key() bool
Key function returns key value.
func (TxCheckServiceCheckRequestValidationError) Reason ¶
func (e TxCheckServiceCheckRequestValidationError) Reason() string
Reason function returns reason value.
type TxCheckServiceCheckResponse ¶
type TxCheckServiceCheckResponse struct {
// contains filtered or unexported fields
}
func (*TxCheckServiceCheckResponse) Descriptor
deprecated
func (*TxCheckServiceCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use TxCheckServiceCheckResponse.ProtoReflect.Descriptor instead.
func (*TxCheckServiceCheckResponse) ProtoMessage ¶
func (*TxCheckServiceCheckResponse) ProtoMessage()
func (*TxCheckServiceCheckResponse) ProtoReflect ¶
func (x *TxCheckServiceCheckResponse) ProtoReflect() protoreflect.Message
func (*TxCheckServiceCheckResponse) Reset ¶
func (x *TxCheckServiceCheckResponse) Reset()
func (*TxCheckServiceCheckResponse) String ¶
func (x *TxCheckServiceCheckResponse) String() string
func (*TxCheckServiceCheckResponse) Validate ¶
func (m *TxCheckServiceCheckResponse) Validate() error
Validate checks the field values on TxCheckServiceCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TxCheckServiceCheckResponse) ValidateAll ¶
func (m *TxCheckServiceCheckResponse) ValidateAll() error
ValidateAll checks the field values on TxCheckServiceCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TxCheckServiceCheckResponseMultiError, or nil if none found.
type TxCheckServiceCheckResponseMultiError ¶
type TxCheckServiceCheckResponseMultiError []error
TxCheckServiceCheckResponseMultiError is an error wrapping multiple validation errors returned by TxCheckServiceCheckResponse.ValidateAll() if the designated constraints aren't met.
func (TxCheckServiceCheckResponseMultiError) AllErrors ¶
func (m TxCheckServiceCheckResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TxCheckServiceCheckResponseMultiError) Error ¶
func (m TxCheckServiceCheckResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TxCheckServiceCheckResponseValidationError ¶
type TxCheckServiceCheckResponseValidationError struct {
// contains filtered or unexported fields
}
TxCheckServiceCheckResponseValidationError is the validation error returned by TxCheckServiceCheckResponse.Validate if the designated constraints aren't met.
func (TxCheckServiceCheckResponseValidationError) Cause ¶
func (e TxCheckServiceCheckResponseValidationError) Cause() error
Cause function returns cause value.
func (TxCheckServiceCheckResponseValidationError) Error ¶
func (e TxCheckServiceCheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TxCheckServiceCheckResponseValidationError) ErrorName ¶
func (e TxCheckServiceCheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TxCheckServiceCheckResponseValidationError) Field ¶
func (e TxCheckServiceCheckResponseValidationError) Field() string
Field function returns field value.
func (TxCheckServiceCheckResponseValidationError) Key ¶
func (e TxCheckServiceCheckResponseValidationError) Key() bool
Key function returns key value.
func (TxCheckServiceCheckResponseValidationError) Reason ¶
func (e TxCheckServiceCheckResponseValidationError) Reason() string
Reason function returns reason value.
type TxCheckServiceCheckResponse_ResponseStatus ¶
type TxCheckServiceCheckResponse_ResponseStatus int32
const ( TxCheckServiceCheckResponse_STATUS_UNSPECIFIED TxCheckServiceCheckResponse_ResponseStatus = 0 TxCheckServiceCheckResponse_COMMITTED TxCheckServiceCheckResponse_ResponseStatus = 1 TxCheckServiceCheckResponse_CANCELED TxCheckServiceCheckResponse_ResponseStatus = 2 )
func (TxCheckServiceCheckResponse_ResponseStatus) Descriptor ¶
func (TxCheckServiceCheckResponse_ResponseStatus) Descriptor() protoreflect.EnumDescriptor
func (TxCheckServiceCheckResponse_ResponseStatus) EnumDescriptor
deprecated
func (TxCheckServiceCheckResponse_ResponseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TxCheckServiceCheckResponse_ResponseStatus.Descriptor instead.
func (TxCheckServiceCheckResponse_ResponseStatus) Number ¶
func (x TxCheckServiceCheckResponse_ResponseStatus) Number() protoreflect.EnumNumber
func (TxCheckServiceCheckResponse_ResponseStatus) String ¶
func (x TxCheckServiceCheckResponse_ResponseStatus) String() string
func (TxCheckServiceCheckResponse_ResponseStatus) Type ¶
func (TxCheckServiceCheckResponse_ResponseStatus) Type() protoreflect.EnumType
type TxCheckServiceClient ¶
type TxCheckServiceClient interface {
Check(ctx context.Context, in *TxCheckServiceCheckRequest, opts ...grpc.CallOption) (*TxCheckServiceCheckResponse, error)
}
TxCheckServiceClient is the client API for TxCheckService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTxCheckServiceClient ¶
func NewTxCheckServiceClient(cc grpc.ClientConnInterface) TxCheckServiceClient
type TxCheckServiceServer ¶
type TxCheckServiceServer interface {
Check(context.Context, *TxCheckServiceCheckRequest) (*TxCheckServiceCheckResponse, error)
}
TxCheckServiceServer is the server API for TxCheckService service. All implementations should embed UnimplementedTxCheckServiceServer for forward compatibility.
type UnimplementedCallbackServiceServer ¶
type UnimplementedCallbackServiceServer struct{}
UnimplementedCallbackServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCallbackServiceServer) SendResultNotify ¶
func (UnimplementedCallbackServiceServer) SendResultNotify(context.Context, *SendResultNotifyRequest) (*SendResultNotifyResponse, error)
type UnimplementedTxCheckServiceServer ¶
type UnimplementedTxCheckServiceServer struct{}
UnimplementedTxCheckServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnsafeCallbackServiceServer ¶
type UnsafeCallbackServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCallbackServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CallbackServiceServer will result in compilation errors.
type UnsafeTxCheckServiceServer ¶
type UnsafeTxCheckServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTxCheckServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TxCheckServiceServer will result in compilation errors.