Documentation ¶
Index ¶
- func RegisterGitServer(s *grpc.Server, srv GitServer)
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetData() []byte
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type GitClient
- type GitServer
- type Git_ConnectClient
- type Git_ConnectServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGitServer ¶
Types ¶
type Data ¶
type Data struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Data) Descriptor ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type GitClient ¶
type GitClient interface {
Connect(ctx context.Context, opts ...grpc.CallOption) (Git_ConnectClient, error)
}
GitClient is the client API for Git service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGitClient ¶
func NewGitClient(cc *grpc.ClientConn) GitClient
type GitServer ¶
type GitServer interface {
Connect(Git_ConnectServer) error
}
GitServer is the server API for Git service.
type Git_ConnectClient ¶
type Git_ConnectServer ¶
Click to show internal directories.
Click to hide internal directories.