Documentation ¶
Index ¶
- func RegisterSidechainEthServer(s *grpc.Server, srv SidechainEthServer)
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetInput() string
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetOutput() string
- func (m *Response) GetStatus() bool
- func (m *Response) GetStatusMessage() string
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type SidechainEthClient
- type SidechainEthServer
- type UnimplementedSidechainEthServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSidechainEthServer ¶
func RegisterSidechainEthServer(s *grpc.Server, srv SidechainEthServer)
Types ¶
type Request ¶
type Request struct { Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Response ¶
type Response struct { Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` StatusMessage string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` Status bool `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response message
func (*Response) Descriptor ¶
func (*Response) GetStatusMessage ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type SidechainEthClient ¶
type SidechainEthClient interface { DeployEthContract(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) WatchEthContract(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) }
SidechainEthClient is the client API for SidechainEth service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSidechainEthClient ¶
func NewSidechainEthClient(cc *grpc.ClientConn) SidechainEthClient
type SidechainEthServer ¶
type SidechainEthServer interface { DeployEthContract(context.Context, *Request) (*Response, error) WatchEthContract(context.Context, *Request) (*Response, error) }
SidechainEthServer is the server API for SidechainEth service.
type UnimplementedSidechainEthServer ¶
type UnimplementedSidechainEthServer struct { }
UnimplementedSidechainEthServer can be embedded to have forward compatible implementations.
func (*UnimplementedSidechainEthServer) DeployEthContract ¶
func (*UnimplementedSidechainEthServer) WatchEthContract ¶
Click to show internal directories.
Click to hide internal directories.