 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_relay_proto protoreflect.FileDescriptor
    var Relay_ServiceDesc = grpc.ServiceDesc{ ServiceName: "x.blockpi.indexer.Relay", HandlerType: (*RelayServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Relay", Handler: _Relay_Relay_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "relay.proto", }
Relay_ServiceDesc is the grpc.ServiceDesc for Relay service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRelayServer ¶
func RegisterRelayServer(s grpc.ServiceRegistrar, srv RelayServer)
Types ¶
type RelayClient ¶
type RelayClient interface {
	Relay(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}
    RelayClient is the client API for Relay 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 NewRelayClient ¶
func NewRelayClient(cc grpc.ClientConnInterface) RelayClient
type RelayServer ¶
type RelayServer interface {
	Relay(context.Context, *Request) (*Response, error)
	// contains filtered or unexported methods
}
    RelayServer is the server API for Relay service. All implementations must embed UnimplementedRelayServer for forward compatibility
type Request ¶
type Request struct {
	Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Request) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct {
	Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Response) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type UnimplementedRelayServer ¶
type UnimplementedRelayServer struct {
}
    UnimplementedRelayServer must be embedded to have forward compatible implementations.
type UnsafeRelayServer ¶
type UnsafeRelayServer interface {
	// contains filtered or unexported methods
}
    UnsafeRelayServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RelayServer will result in compilation errors.