Documentation ¶
Index ¶
- Variables
- func RegisterClientSrvServer(s *grpc.Server, srv ClientSrvServer)
- func RegisterDomainSrvServer(s *grpc.Server, srv DomainSrvServer)
- func RegisterUserSrvServer(s *grpc.Server, srv UserSrvServer)
- type ClientCond
- type ClientReply
- type ClientSrvClient
- type ClientSrvServer
- type DomainCond
- type DomainReply
- type DomainSrvClient
- type DomainSrvServer
- type UnimplementedClientSrvServer
- type UnimplementedDomainSrvServer
- type UnimplementedUserSrvServer
- type UserCond
- type UserReply
- type UserSrvClient
- type UserSrvServer
Constants ¶
This section is empty.
Variables ¶
var File_client_proto protoreflect.FileDescriptor
var File_domain_proto protoreflect.FileDescriptor
var File_user_proto protoreflect.FileDescriptor
Functions ¶
func RegisterClientSrvServer ¶
func RegisterClientSrvServer(s *grpc.Server, srv ClientSrvServer)
func RegisterDomainSrvServer ¶
func RegisterDomainSrvServer(s *grpc.Server, srv DomainSrvServer)
func RegisterUserSrvServer ¶
func RegisterUserSrvServer(s *grpc.Server, srv UserSrvServer)
Types ¶
type ClientCond ¶
type ClientCond struct {
// contains filtered or unexported fields
}
ClientCond defined
func (*ClientCond) Descriptor
deprecated
func (*ClientCond) Descriptor() ([]byte, []int)
Deprecated: Use ClientCond.ProtoReflect.Descriptor instead.
func (*ClientCond) ProtoMessage ¶
func (*ClientCond) ProtoMessage()
func (*ClientCond) ProtoReflect ¶ added in v1.2.15
func (x *ClientCond) ProtoReflect() protoreflect.Message
func (*ClientCond) Reset ¶
func (x *ClientCond) Reset()
func (*ClientCond) String ¶
func (x *ClientCond) String() string
type ClientReply ¶
type ClientReply struct {
// contains filtered or unexported fields
}
ClientReply defined
func (*ClientReply) Descriptor
deprecated
func (*ClientReply) Descriptor() ([]byte, []int)
Deprecated: Use ClientReply.ProtoReflect.Descriptor instead.
func (*ClientReply) ProtoMessage ¶
func (*ClientReply) ProtoMessage()
func (*ClientReply) ProtoReflect ¶ added in v1.2.15
func (x *ClientReply) ProtoReflect() protoreflect.Message
func (*ClientReply) Reset ¶
func (x *ClientReply) Reset()
func (*ClientReply) String ¶
func (x *ClientReply) String() string
type ClientSrvClient ¶
type ClientSrvClient interface {
List(ctx context.Context, in *ClientCond, opts ...grpc.CallOption) (*ClientReply, error)
}
ClientSrvClient is the client API for ClientSrv service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClientSrvClient ¶
func NewClientSrvClient(cc grpc.ClientConnInterface) ClientSrvClient
type ClientSrvServer ¶
type ClientSrvServer interface {
List(context.Context, *ClientCond) (*ClientReply, error)
}
ClientSrvServer is the server API for ClientSrv service.
type DomainCond ¶
type DomainCond struct {
// contains filtered or unexported fields
}
DomainCond defined
func (*DomainCond) Descriptor
deprecated
func (*DomainCond) Descriptor() ([]byte, []int)
Deprecated: Use DomainCond.ProtoReflect.Descriptor instead.
func (*DomainCond) ProtoMessage ¶
func (*DomainCond) ProtoMessage()
func (*DomainCond) ProtoReflect ¶ added in v1.2.15
func (x *DomainCond) ProtoReflect() protoreflect.Message
func (*DomainCond) Reset ¶
func (x *DomainCond) Reset()
func (*DomainCond) String ¶
func (x *DomainCond) String() string
type DomainReply ¶
type DomainReply struct {
// contains filtered or unexported fields
}
DomainReply defined
func (*DomainReply) Descriptor
deprecated
func (*DomainReply) Descriptor() ([]byte, []int)
Deprecated: Use DomainReply.ProtoReflect.Descriptor instead.
func (*DomainReply) ProtoMessage ¶
func (*DomainReply) ProtoMessage()
func (*DomainReply) ProtoReflect ¶ added in v1.2.15
func (x *DomainReply) ProtoReflect() protoreflect.Message
func (*DomainReply) Reset ¶
func (x *DomainReply) Reset()
func (*DomainReply) String ¶
func (x *DomainReply) String() string
type DomainSrvClient ¶
type DomainSrvClient interface {
List(ctx context.Context, in *DomainCond, opts ...grpc.CallOption) (*DomainReply, error)
}
DomainSrvClient is the client API for DomainSrv service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDomainSrvClient ¶
func NewDomainSrvClient(cc grpc.ClientConnInterface) DomainSrvClient
type DomainSrvServer ¶
type DomainSrvServer interface {
List(context.Context, *DomainCond) (*DomainReply, error)
}
DomainSrvServer is the server API for DomainSrv service.
type UnimplementedClientSrvServer ¶
type UnimplementedClientSrvServer struct { }
UnimplementedClientSrvServer can be embedded to have forward compatible implementations.
func (*UnimplementedClientSrvServer) List ¶
func (*UnimplementedClientSrvServer) List(context.Context, *ClientCond) (*ClientReply, error)
type UnimplementedDomainSrvServer ¶
type UnimplementedDomainSrvServer struct { }
UnimplementedDomainSrvServer can be embedded to have forward compatible implementations.
func (*UnimplementedDomainSrvServer) List ¶
func (*UnimplementedDomainSrvServer) List(context.Context, *DomainCond) (*DomainReply, error)
type UnimplementedUserSrvServer ¶
type UnimplementedUserSrvServer struct { }
UnimplementedUserSrvServer can be embedded to have forward compatible implementations.
type UserCond ¶
type UserCond struct {
// contains filtered or unexported fields
}
UserCond defined
func (*UserCond) Descriptor
deprecated
func (*UserCond) ProtoMessage ¶
func (*UserCond) ProtoMessage()
func (*UserCond) ProtoReflect ¶ added in v1.2.15
func (x *UserCond) ProtoReflect() protoreflect.Message
type UserReply ¶
type UserReply struct {
// contains filtered or unexported fields
}
UserReply defined
func (*UserReply) Descriptor
deprecated
func (*UserReply) ProtoMessage ¶
func (*UserReply) ProtoMessage()
func (*UserReply) ProtoReflect ¶ added in v1.2.15
func (x *UserReply) ProtoReflect() protoreflect.Message
type UserSrvClient ¶
type UserSrvClient interface {
List(ctx context.Context, in *UserCond, opts ...grpc.CallOption) (*UserReply, error)
}
UserSrvClient is the client API for UserSrv service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserSrvClient ¶
func NewUserSrvClient(cc grpc.ClientConnInterface) UserSrvClient