Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterReplicationServer ¶
func RegisterReplicationServer(s *grpc.Server, srv ReplicationServer)
Types ¶
type ReplicationClient ¶
type ReplicationClient interface {
ReplicationInfo(ctx context.Context, in *payload.Empty, opts ...grpc.CallOption) (*payload.Replication_Agents, error)
}
ReplicationClient is the client API for Replication service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReplicationClient ¶
func NewReplicationClient(cc *grpc.ClientConn) ReplicationClient
type ReplicationServer ¶
type ReplicationServer interface {
ReplicationInfo(context.Context, *payload.Empty) (*payload.Replication_Agents, error)
}
ReplicationServer is the server API for Replication service.
type UnimplementedReplicationServer ¶
type UnimplementedReplicationServer struct { }
UnimplementedReplicationServer can be embedded to have forward compatible implementations.
func (*UnimplementedReplicationServer) ReplicationInfo ¶
func (*UnimplementedReplicationServer) ReplicationInfo(ctx context.Context, req *payload.Empty) (*payload.Replication_Agents, error)
Click to show internal directories.
Click to hide internal directories.