Documentation
¶
Index ¶
- Variables
- func RegisterRoleServiceServer(s *grpc.Server, srv RoleServiceServer)
- type GetAllRolesResponse
- func (*GetAllRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllRolesResponse) GetUserIds() []string
- func (*GetAllRolesResponse) ProtoMessage()
- func (x *GetAllRolesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllRolesResponse) Reset()
- func (x *GetAllRolesResponse) String() string
- type RoleServiceClient
- type RoleServiceServer
- type UnimplementedRoleServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_protobuf_spec_connection_roles_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterRoleServiceServer ¶
func RegisterRoleServiceServer(s *grpc.Server, srv RoleServiceServer)
Types ¶
type GetAllRolesResponse ¶
type GetAllRolesResponse struct { UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
func (*GetAllRolesResponse) Descriptor
deprecated
func (*GetAllRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllRolesResponse.ProtoReflect.Descriptor instead.
func (*GetAllRolesResponse) GetUserIds ¶
func (x *GetAllRolesResponse) GetUserIds() []string
func (*GetAllRolesResponse) ProtoMessage ¶
func (*GetAllRolesResponse) ProtoMessage()
func (*GetAllRolesResponse) ProtoReflect ¶
func (x *GetAllRolesResponse) ProtoReflect() protoreflect.Message
func (*GetAllRolesResponse) Reset ¶
func (x *GetAllRolesResponse) Reset()
func (*GetAllRolesResponse) String ¶
func (x *GetAllRolesResponse) String() string
type RoleServiceClient ¶
type RoleServiceClient interface {
FetchSupportCrew(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetAllRolesResponse, error)
}
RoleServiceClient is the client API for RoleService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRoleServiceClient ¶
func NewRoleServiceClient(cc grpc.ClientConnInterface) RoleServiceClient
type RoleServiceServer ¶
type RoleServiceServer interface {
FetchSupportCrew(context.Context, *empty.Empty) (*GetAllRolesResponse, error)
}
RoleServiceServer is the server API for RoleService service.
type UnimplementedRoleServiceServer ¶
type UnimplementedRoleServiceServer struct { }
UnimplementedRoleServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedRoleServiceServer) FetchSupportCrew ¶
func (*UnimplementedRoleServiceServer) FetchSupportCrew(context.Context, *empty.Empty) (*GetAllRolesResponse, error)
Click to show internal directories.
Click to hide internal directories.