Documentation ¶
Overview ¶
Code generated by protoc-gen-entgrpc. DO NOT EDIT.
Code generated by protoc-gen-entgrpc. DO NOT EDIT.
Index ¶
- Variables
- func RegisterAbilityScoreServiceServer(s grpc.ServiceRegistrar, srv AbilityScoreServiceServer)
- func RegisterSkillServiceServer(s grpc.ServiceRegistrar, srv SkillServiceServer)
- type AbilityBonus
- func (*AbilityBonus) Descriptor() ([]byte, []int)deprecated
- func (x *AbilityBonus) GetAbilityScore() []*AbilityScore
- func (x *AbilityBonus) GetId() int64
- func (x *AbilityBonus) GetValue() int64
- func (*AbilityBonus) ProtoMessage()
- func (x *AbilityBonus) ProtoReflect() protoreflect.Message
- func (x *AbilityBonus) Reset()
- func (x *AbilityBonus) String() string
- type AbilityScore
- func (*AbilityScore) Descriptor() ([]byte, []int)deprecated
- func (x *AbilityScore) GetAbilityBonus() []*AbilityBonus
- func (x *AbilityScore) GetDesc() []string
- func (x *AbilityScore) GetFullName() string
- func (x *AbilityScore) GetId() int64
- func (x *AbilityScore) GetIndx() string
- func (x *AbilityScore) GetName() string
- func (x *AbilityScore) GetSkills() []*Skill
- func (*AbilityScore) ProtoMessage()
- func (x *AbilityScore) ProtoReflect() protoreflect.Message
- func (x *AbilityScore) Reset()
- func (x *AbilityScore) String() string
- type AbilityScoreService
- func (svc *AbilityScoreService) BatchCreate(ctx context.Context, req *BatchCreateAbilityScoresRequest) (*BatchCreateAbilityScoresResponse, error)
- func (svc *AbilityScoreService) Create(ctx context.Context, req *CreateAbilityScoreRequest) (*AbilityScore, error)
- func (svc *AbilityScoreService) Delete(ctx context.Context, req *DeleteAbilityScoreRequest) (*emptypb.Empty, error)
- func (svc *AbilityScoreService) Get(ctx context.Context, req *GetAbilityScoreRequest) (*AbilityScore, error)
- func (svc *AbilityScoreService) List(ctx context.Context, req *ListAbilityScoreRequest) (*ListAbilityScoreResponse, error)
- func (svc *AbilityScoreService) Update(ctx context.Context, req *UpdateAbilityScoreRequest) (*AbilityScore, error)
- type AbilityScoreServiceClient
- type AbilityScoreServiceServer
- type BatchCreateAbilityScoresRequest
- func (*BatchCreateAbilityScoresRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateAbilityScoresRequest) GetRequests() []*CreateAbilityScoreRequest
- func (*BatchCreateAbilityScoresRequest) ProtoMessage()
- func (x *BatchCreateAbilityScoresRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateAbilityScoresRequest) Reset()
- func (x *BatchCreateAbilityScoresRequest) String() string
- type BatchCreateAbilityScoresResponse
- func (*BatchCreateAbilityScoresResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateAbilityScoresResponse) GetAbilityScores() []*AbilityScore
- func (*BatchCreateAbilityScoresResponse) ProtoMessage()
- func (x *BatchCreateAbilityScoresResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateAbilityScoresResponse) Reset()
- func (x *BatchCreateAbilityScoresResponse) String() string
- type BatchCreateSkillsRequest
- func (*BatchCreateSkillsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateSkillsRequest) GetRequests() []*CreateSkillRequest
- func (*BatchCreateSkillsRequest) ProtoMessage()
- func (x *BatchCreateSkillsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateSkillsRequest) Reset()
- func (x *BatchCreateSkillsRequest) String() string
- type BatchCreateSkillsResponse
- func (*BatchCreateSkillsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateSkillsResponse) GetSkills() []*Skill
- func (*BatchCreateSkillsResponse) ProtoMessage()
- func (x *BatchCreateSkillsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateSkillsResponse) Reset()
- func (x *BatchCreateSkillsResponse) String() string
- type CreateAbilityScoreRequest
- func (*CreateAbilityScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAbilityScoreRequest) GetAbilityScore() *AbilityScore
- func (*CreateAbilityScoreRequest) ProtoMessage()
- func (x *CreateAbilityScoreRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAbilityScoreRequest) Reset()
- func (x *CreateAbilityScoreRequest) String() string
- type CreateSkillRequest
- func (*CreateSkillRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSkillRequest) GetSkill() *Skill
- func (*CreateSkillRequest) ProtoMessage()
- func (x *CreateSkillRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSkillRequest) Reset()
- func (x *CreateSkillRequest) String() string
- type DeleteAbilityScoreRequest
- func (*DeleteAbilityScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAbilityScoreRequest) GetId() int64
- func (*DeleteAbilityScoreRequest) ProtoMessage()
- func (x *DeleteAbilityScoreRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAbilityScoreRequest) Reset()
- func (x *DeleteAbilityScoreRequest) String() string
- type DeleteSkillRequest
- type GetAbilityScoreRequest
- func (*GetAbilityScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAbilityScoreRequest) GetId() int64
- func (x *GetAbilityScoreRequest) GetView() GetAbilityScoreRequest_View
- func (*GetAbilityScoreRequest) ProtoMessage()
- func (x *GetAbilityScoreRequest) ProtoReflect() protoreflect.Message
- func (x *GetAbilityScoreRequest) Reset()
- func (x *GetAbilityScoreRequest) String() string
- type GetAbilityScoreRequest_View
- func (GetAbilityScoreRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x GetAbilityScoreRequest_View) Enum() *GetAbilityScoreRequest_View
- func (GetAbilityScoreRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetAbilityScoreRequest_View) Number() protoreflect.EnumNumber
- func (x GetAbilityScoreRequest_View) String() string
- func (GetAbilityScoreRequest_View) Type() protoreflect.EnumType
- type GetSkillRequest
- func (*GetSkillRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSkillRequest) GetId() int64
- func (x *GetSkillRequest) GetView() GetSkillRequest_View
- func (*GetSkillRequest) ProtoMessage()
- func (x *GetSkillRequest) ProtoReflect() protoreflect.Message
- func (x *GetSkillRequest) Reset()
- func (x *GetSkillRequest) String() string
- type GetSkillRequest_View
- func (GetSkillRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x GetSkillRequest_View) Enum() *GetSkillRequest_View
- func (GetSkillRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetSkillRequest_View) Number() protoreflect.EnumNumber
- func (x GetSkillRequest_View) String() string
- func (GetSkillRequest_View) Type() protoreflect.EnumType
- type ListAbilityScoreRequest
- func (*ListAbilityScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAbilityScoreRequest) GetPageSize() int32
- func (x *ListAbilityScoreRequest) GetPageToken() string
- func (x *ListAbilityScoreRequest) GetView() ListAbilityScoreRequest_View
- func (*ListAbilityScoreRequest) ProtoMessage()
- func (x *ListAbilityScoreRequest) ProtoReflect() protoreflect.Message
- func (x *ListAbilityScoreRequest) Reset()
- func (x *ListAbilityScoreRequest) String() string
- type ListAbilityScoreRequest_View
- func (ListAbilityScoreRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x ListAbilityScoreRequest_View) Enum() *ListAbilityScoreRequest_View
- func (ListAbilityScoreRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListAbilityScoreRequest_View) Number() protoreflect.EnumNumber
- func (x ListAbilityScoreRequest_View) String() string
- func (ListAbilityScoreRequest_View) Type() protoreflect.EnumType
- type ListAbilityScoreResponse
- func (*ListAbilityScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAbilityScoreResponse) GetAbilityScoreList() []*AbilityScore
- func (x *ListAbilityScoreResponse) GetNextPageToken() string
- func (*ListAbilityScoreResponse) ProtoMessage()
- func (x *ListAbilityScoreResponse) ProtoReflect() protoreflect.Message
- func (x *ListAbilityScoreResponse) Reset()
- func (x *ListAbilityScoreResponse) String() string
- type ListSkillRequest
- func (*ListSkillRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkillRequest) GetPageSize() int32
- func (x *ListSkillRequest) GetPageToken() string
- func (x *ListSkillRequest) GetView() ListSkillRequest_View
- func (*ListSkillRequest) ProtoMessage()
- func (x *ListSkillRequest) ProtoReflect() protoreflect.Message
- func (x *ListSkillRequest) Reset()
- func (x *ListSkillRequest) String() string
- type ListSkillRequest_View
- func (ListSkillRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x ListSkillRequest_View) Enum() *ListSkillRequest_View
- func (ListSkillRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListSkillRequest_View) Number() protoreflect.EnumNumber
- func (x ListSkillRequest_View) String() string
- func (ListSkillRequest_View) Type() protoreflect.EnumType
- type ListSkillResponse
- func (*ListSkillResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkillResponse) GetNextPageToken() string
- func (x *ListSkillResponse) GetSkillList() []*Skill
- func (*ListSkillResponse) ProtoMessage()
- func (x *ListSkillResponse) ProtoReflect() protoreflect.Message
- func (x *ListSkillResponse) Reset()
- func (x *ListSkillResponse) String() string
- type Skill
- func (*Skill) Descriptor() ([]byte, []int)deprecated
- func (x *Skill) GetAbilityScore() *AbilityScore
- func (x *Skill) GetDesc() []string
- func (x *Skill) GetId() int64
- func (x *Skill) GetIndx() string
- func (x *Skill) GetName() string
- func (*Skill) ProtoMessage()
- func (x *Skill) ProtoReflect() protoreflect.Message
- func (x *Skill) Reset()
- func (x *Skill) String() string
- type SkillService
- func (svc *SkillService) BatchCreate(ctx context.Context, req *BatchCreateSkillsRequest) (*BatchCreateSkillsResponse, error)
- func (svc *SkillService) Create(ctx context.Context, req *CreateSkillRequest) (*Skill, error)
- func (svc *SkillService) Delete(ctx context.Context, req *DeleteSkillRequest) (*emptypb.Empty, error)
- func (svc *SkillService) Get(ctx context.Context, req *GetSkillRequest) (*Skill, error)
- func (svc *SkillService) List(ctx context.Context, req *ListSkillRequest) (*ListSkillResponse, error)
- func (svc *SkillService) Update(ctx context.Context, req *UpdateSkillRequest) (*Skill, error)
- type SkillServiceClient
- type SkillServiceServer
- type UnimplementedAbilityScoreServiceServer
- func (UnimplementedAbilityScoreServiceServer) BatchCreate(context.Context, *BatchCreateAbilityScoresRequest) (*BatchCreateAbilityScoresResponse, error)
- func (UnimplementedAbilityScoreServiceServer) Create(context.Context, *CreateAbilityScoreRequest) (*AbilityScore, error)
- func (UnimplementedAbilityScoreServiceServer) Delete(context.Context, *DeleteAbilityScoreRequest) (*emptypb.Empty, error)
- func (UnimplementedAbilityScoreServiceServer) Get(context.Context, *GetAbilityScoreRequest) (*AbilityScore, error)
- func (UnimplementedAbilityScoreServiceServer) List(context.Context, *ListAbilityScoreRequest) (*ListAbilityScoreResponse, error)
- func (UnimplementedAbilityScoreServiceServer) Update(context.Context, *UpdateAbilityScoreRequest) (*AbilityScore, error)
- type UnimplementedSkillServiceServer
- func (UnimplementedSkillServiceServer) BatchCreate(context.Context, *BatchCreateSkillsRequest) (*BatchCreateSkillsResponse, error)
- func (UnimplementedSkillServiceServer) Create(context.Context, *CreateSkillRequest) (*Skill, error)
- func (UnimplementedSkillServiceServer) Delete(context.Context, *DeleteSkillRequest) (*emptypb.Empty, error)
- func (UnimplementedSkillServiceServer) Get(context.Context, *GetSkillRequest) (*Skill, error)
- func (UnimplementedSkillServiceServer) List(context.Context, *ListSkillRequest) (*ListSkillResponse, error)
- func (UnimplementedSkillServiceServer) Update(context.Context, *UpdateSkillRequest) (*Skill, error)
- type UnsafeAbilityScoreServiceServer
- type UnsafeSkillServiceServer
- type UpdateAbilityScoreRequest
- func (*UpdateAbilityScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAbilityScoreRequest) GetAbilityScore() *AbilityScore
- func (*UpdateAbilityScoreRequest) ProtoMessage()
- func (x *UpdateAbilityScoreRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAbilityScoreRequest) Reset()
- func (x *UpdateAbilityScoreRequest) String() string
- type UpdateSkillRequest
- func (*UpdateSkillRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSkillRequest) GetSkill() *Skill
- func (*UpdateSkillRequest) ProtoMessage()
- func (x *UpdateSkillRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSkillRequest) Reset()
- func (x *UpdateSkillRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( GetAbilityScoreRequest_View_name = map[int32]string{ 0: "VIEW_UNSPECIFIED", 1: "BASIC", 2: "WITH_EDGE_IDS", } GetAbilityScoreRequest_View_value = map[string]int32{ "VIEW_UNSPECIFIED": 0, "BASIC": 1, "WITH_EDGE_IDS": 2, } )
Enum value maps for GetAbilityScoreRequest_View.
var ( ListAbilityScoreRequest_View_name = map[int32]string{ 0: "VIEW_UNSPECIFIED", 1: "BASIC", 2: "WITH_EDGE_IDS", } ListAbilityScoreRequest_View_value = map[string]int32{ "VIEW_UNSPECIFIED": 0, "BASIC": 1, "WITH_EDGE_IDS": 2, } )
Enum value maps for ListAbilityScoreRequest_View.
var ( GetSkillRequest_View_name = map[int32]string{ 0: "VIEW_UNSPECIFIED", 1: "BASIC", 2: "WITH_EDGE_IDS", } GetSkillRequest_View_value = map[string]int32{ "VIEW_UNSPECIFIED": 0, "BASIC": 1, "WITH_EDGE_IDS": 2, } )
Enum value maps for GetSkillRequest_View.
var ( ListSkillRequest_View_name = map[int32]string{ 0: "VIEW_UNSPECIFIED", 1: "BASIC", 2: "WITH_EDGE_IDS", } ListSkillRequest_View_value = map[string]int32{ "VIEW_UNSPECIFIED": 0, "BASIC": 1, "WITH_EDGE_IDS": 2, } )
Enum value maps for ListSkillRequest_View.
var AbilityScoreService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "entpb.AbilityScoreService", HandlerType: (*AbilityScoreServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _AbilityScoreService_Create_Handler, }, { MethodName: "Get", Handler: _AbilityScoreService_Get_Handler, }, { MethodName: "Update", Handler: _AbilityScoreService_Update_Handler, }, { MethodName: "Delete", Handler: _AbilityScoreService_Delete_Handler, }, { MethodName: "List", Handler: _AbilityScoreService_List_Handler, }, { MethodName: "BatchCreate", Handler: _AbilityScoreService_BatchCreate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "entpb/entpb.proto", }
AbilityScoreService_ServiceDesc is the grpc.ServiceDesc for AbilityScoreService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_entpb_entpb_proto protoreflect.FileDescriptor
var SkillService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "entpb.SkillService", HandlerType: (*SkillServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _SkillService_Create_Handler, }, { MethodName: "Get", Handler: _SkillService_Get_Handler, }, { MethodName: "Update", Handler: _SkillService_Update_Handler, }, { MethodName: "Delete", Handler: _SkillService_Delete_Handler, }, { MethodName: "List", Handler: _SkillService_List_Handler, }, { MethodName: "BatchCreate", Handler: _SkillService_BatchCreate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "entpb/entpb.proto", }
SkillService_ServiceDesc is the grpc.ServiceDesc for SkillService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAbilityScoreServiceServer ¶
func RegisterAbilityScoreServiceServer(s grpc.ServiceRegistrar, srv AbilityScoreServiceServer)
func RegisterSkillServiceServer ¶
func RegisterSkillServiceServer(s grpc.ServiceRegistrar, srv SkillServiceServer)
Types ¶
type AbilityBonus ¶
type AbilityBonus struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` AbilityScore []*AbilityScore `protobuf:"bytes,3,rep,name=ability_score,json=abilityScore,proto3" json:"ability_score,omitempty"` // contains filtered or unexported fields }
func (*AbilityBonus) Descriptor
deprecated
func (*AbilityBonus) Descriptor() ([]byte, []int)
Deprecated: Use AbilityBonus.ProtoReflect.Descriptor instead.
func (*AbilityBonus) GetAbilityScore ¶
func (x *AbilityBonus) GetAbilityScore() []*AbilityScore
func (*AbilityBonus) GetId ¶
func (x *AbilityBonus) GetId() int64
func (*AbilityBonus) GetValue ¶
func (x *AbilityBonus) GetValue() int64
func (*AbilityBonus) ProtoMessage ¶
func (*AbilityBonus) ProtoMessage()
func (*AbilityBonus) ProtoReflect ¶
func (x *AbilityBonus) ProtoReflect() protoreflect.Message
func (*AbilityBonus) Reset ¶
func (x *AbilityBonus) Reset()
func (*AbilityBonus) String ¶
func (x *AbilityBonus) String() string
type AbilityScore ¶
type AbilityScore struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Indx string `protobuf:"bytes,2,opt,name=indx,proto3" json:"indx,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` FullName string `protobuf:"bytes,4,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Desc []string `protobuf:"bytes,5,rep,name=desc,proto3" json:"desc,omitempty"` Skills []*Skill `protobuf:"bytes,6,rep,name=skills,proto3" json:"skills,omitempty"` AbilityBonus []*AbilityBonus `protobuf:"bytes,7,rep,name=ability_bonus,json=abilityBonus,proto3" json:"ability_bonus,omitempty"` // contains filtered or unexported fields }
func (*AbilityScore) Descriptor
deprecated
func (*AbilityScore) Descriptor() ([]byte, []int)
Deprecated: Use AbilityScore.ProtoReflect.Descriptor instead.
func (*AbilityScore) GetAbilityBonus ¶
func (x *AbilityScore) GetAbilityBonus() []*AbilityBonus
func (*AbilityScore) GetDesc ¶
func (x *AbilityScore) GetDesc() []string
func (*AbilityScore) GetFullName ¶
func (x *AbilityScore) GetFullName() string
func (*AbilityScore) GetId ¶
func (x *AbilityScore) GetId() int64
func (*AbilityScore) GetIndx ¶
func (x *AbilityScore) GetIndx() string
func (*AbilityScore) GetName ¶
func (x *AbilityScore) GetName() string
func (*AbilityScore) GetSkills ¶
func (x *AbilityScore) GetSkills() []*Skill
func (*AbilityScore) ProtoMessage ¶
func (*AbilityScore) ProtoMessage()
func (*AbilityScore) ProtoReflect ¶
func (x *AbilityScore) ProtoReflect() protoreflect.Message
func (*AbilityScore) Reset ¶
func (x *AbilityScore) Reset()
func (*AbilityScore) String ¶
func (x *AbilityScore) String() string
type AbilityScoreService ¶
type AbilityScoreService struct { UnimplementedAbilityScoreServiceServer // contains filtered or unexported fields }
AbilityScoreService implements AbilityScoreServiceServer
func NewAbilityScoreService ¶
func NewAbilityScoreService(client *ent.Client) *AbilityScoreService
NewAbilityScoreService returns a new AbilityScoreService
func (*AbilityScoreService) BatchCreate ¶
func (svc *AbilityScoreService) BatchCreate(ctx context.Context, req *BatchCreateAbilityScoresRequest) (*BatchCreateAbilityScoresResponse, error)
BatchCreate implements AbilityScoreServiceServer.BatchCreate
func (*AbilityScoreService) Create ¶
func (svc *AbilityScoreService) Create(ctx context.Context, req *CreateAbilityScoreRequest) (*AbilityScore, error)
Create implements AbilityScoreServiceServer.Create
func (*AbilityScoreService) Delete ¶
func (svc *AbilityScoreService) Delete(ctx context.Context, req *DeleteAbilityScoreRequest) (*emptypb.Empty, error)
Delete implements AbilityScoreServiceServer.Delete
func (*AbilityScoreService) Get ¶
func (svc *AbilityScoreService) Get(ctx context.Context, req *GetAbilityScoreRequest) (*AbilityScore, error)
Get implements AbilityScoreServiceServer.Get
func (*AbilityScoreService) List ¶
func (svc *AbilityScoreService) List(ctx context.Context, req *ListAbilityScoreRequest) (*ListAbilityScoreResponse, error)
List implements AbilityScoreServiceServer.List
func (*AbilityScoreService) Update ¶
func (svc *AbilityScoreService) Update(ctx context.Context, req *UpdateAbilityScoreRequest) (*AbilityScore, error)
Update implements AbilityScoreServiceServer.Update
type AbilityScoreServiceClient ¶
type AbilityScoreServiceClient interface { Create(ctx context.Context, in *CreateAbilityScoreRequest, opts ...grpc.CallOption) (*AbilityScore, error) Get(ctx context.Context, in *GetAbilityScoreRequest, opts ...grpc.CallOption) (*AbilityScore, error) Update(ctx context.Context, in *UpdateAbilityScoreRequest, opts ...grpc.CallOption) (*AbilityScore, error) Delete(ctx context.Context, in *DeleteAbilityScoreRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) List(ctx context.Context, in *ListAbilityScoreRequest, opts ...grpc.CallOption) (*ListAbilityScoreResponse, error) BatchCreate(ctx context.Context, in *BatchCreateAbilityScoresRequest, opts ...grpc.CallOption) (*BatchCreateAbilityScoresResponse, error) }
AbilityScoreServiceClient is the client API for AbilityScoreService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAbilityScoreServiceClient ¶
func NewAbilityScoreServiceClient(cc grpc.ClientConnInterface) AbilityScoreServiceClient
type AbilityScoreServiceServer ¶
type AbilityScoreServiceServer interface { Create(context.Context, *CreateAbilityScoreRequest) (*AbilityScore, error) Get(context.Context, *GetAbilityScoreRequest) (*AbilityScore, error) Update(context.Context, *UpdateAbilityScoreRequest) (*AbilityScore, error) Delete(context.Context, *DeleteAbilityScoreRequest) (*emptypb.Empty, error) List(context.Context, *ListAbilityScoreRequest) (*ListAbilityScoreResponse, error) BatchCreate(context.Context, *BatchCreateAbilityScoresRequest) (*BatchCreateAbilityScoresResponse, error) // contains filtered or unexported methods }
AbilityScoreServiceServer is the server API for AbilityScoreService service. All implementations must embed UnimplementedAbilityScoreServiceServer for forward compatibility
type BatchCreateAbilityScoresRequest ¶
type BatchCreateAbilityScoresRequest struct { Requests []*CreateAbilityScoreRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateAbilityScoresRequest) Descriptor
deprecated
func (*BatchCreateAbilityScoresRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateAbilityScoresRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateAbilityScoresRequest) GetRequests ¶
func (x *BatchCreateAbilityScoresRequest) GetRequests() []*CreateAbilityScoreRequest
func (*BatchCreateAbilityScoresRequest) ProtoMessage ¶
func (*BatchCreateAbilityScoresRequest) ProtoMessage()
func (*BatchCreateAbilityScoresRequest) ProtoReflect ¶
func (x *BatchCreateAbilityScoresRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateAbilityScoresRequest) Reset ¶
func (x *BatchCreateAbilityScoresRequest) Reset()
func (*BatchCreateAbilityScoresRequest) String ¶
func (x *BatchCreateAbilityScoresRequest) String() string
type BatchCreateAbilityScoresResponse ¶
type BatchCreateAbilityScoresResponse struct { AbilityScores []*AbilityScore `protobuf:"bytes,1,rep,name=ability_scores,json=abilityScores,proto3" json:"ability_scores,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateAbilityScoresResponse) Descriptor
deprecated
func (*BatchCreateAbilityScoresResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateAbilityScoresResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateAbilityScoresResponse) GetAbilityScores ¶
func (x *BatchCreateAbilityScoresResponse) GetAbilityScores() []*AbilityScore
func (*BatchCreateAbilityScoresResponse) ProtoMessage ¶
func (*BatchCreateAbilityScoresResponse) ProtoMessage()
func (*BatchCreateAbilityScoresResponse) ProtoReflect ¶
func (x *BatchCreateAbilityScoresResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateAbilityScoresResponse) Reset ¶
func (x *BatchCreateAbilityScoresResponse) Reset()
func (*BatchCreateAbilityScoresResponse) String ¶
func (x *BatchCreateAbilityScoresResponse) String() string
type BatchCreateSkillsRequest ¶
type BatchCreateSkillsRequest struct { Requests []*CreateSkillRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateSkillsRequest) Descriptor
deprecated
func (*BatchCreateSkillsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateSkillsRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateSkillsRequest) GetRequests ¶
func (x *BatchCreateSkillsRequest) GetRequests() []*CreateSkillRequest
func (*BatchCreateSkillsRequest) ProtoMessage ¶
func (*BatchCreateSkillsRequest) ProtoMessage()
func (*BatchCreateSkillsRequest) ProtoReflect ¶
func (x *BatchCreateSkillsRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateSkillsRequest) Reset ¶
func (x *BatchCreateSkillsRequest) Reset()
func (*BatchCreateSkillsRequest) String ¶
func (x *BatchCreateSkillsRequest) String() string
type BatchCreateSkillsResponse ¶
type BatchCreateSkillsResponse struct { Skills []*Skill `protobuf:"bytes,1,rep,name=skills,proto3" json:"skills,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateSkillsResponse) Descriptor
deprecated
func (*BatchCreateSkillsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateSkillsResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateSkillsResponse) GetSkills ¶
func (x *BatchCreateSkillsResponse) GetSkills() []*Skill
func (*BatchCreateSkillsResponse) ProtoMessage ¶
func (*BatchCreateSkillsResponse) ProtoMessage()
func (*BatchCreateSkillsResponse) ProtoReflect ¶
func (x *BatchCreateSkillsResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateSkillsResponse) Reset ¶
func (x *BatchCreateSkillsResponse) Reset()
func (*BatchCreateSkillsResponse) String ¶
func (x *BatchCreateSkillsResponse) String() string
type CreateAbilityScoreRequest ¶
type CreateAbilityScoreRequest struct { AbilityScore *AbilityScore `protobuf:"bytes,1,opt,name=ability_score,json=abilityScore,proto3" json:"ability_score,omitempty"` // contains filtered or unexported fields }
func (*CreateAbilityScoreRequest) Descriptor
deprecated
func (*CreateAbilityScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAbilityScoreRequest.ProtoReflect.Descriptor instead.
func (*CreateAbilityScoreRequest) GetAbilityScore ¶
func (x *CreateAbilityScoreRequest) GetAbilityScore() *AbilityScore
func (*CreateAbilityScoreRequest) ProtoMessage ¶
func (*CreateAbilityScoreRequest) ProtoMessage()
func (*CreateAbilityScoreRequest) ProtoReflect ¶
func (x *CreateAbilityScoreRequest) ProtoReflect() protoreflect.Message
func (*CreateAbilityScoreRequest) Reset ¶
func (x *CreateAbilityScoreRequest) Reset()
func (*CreateAbilityScoreRequest) String ¶
func (x *CreateAbilityScoreRequest) String() string
type CreateSkillRequest ¶
type CreateSkillRequest struct { Skill *Skill `protobuf:"bytes,1,opt,name=skill,proto3" json:"skill,omitempty"` // contains filtered or unexported fields }
func (*CreateSkillRequest) Descriptor
deprecated
func (*CreateSkillRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSkillRequest.ProtoReflect.Descriptor instead.
func (*CreateSkillRequest) GetSkill ¶
func (x *CreateSkillRequest) GetSkill() *Skill
func (*CreateSkillRequest) ProtoMessage ¶
func (*CreateSkillRequest) ProtoMessage()
func (*CreateSkillRequest) ProtoReflect ¶
func (x *CreateSkillRequest) ProtoReflect() protoreflect.Message
func (*CreateSkillRequest) Reset ¶
func (x *CreateSkillRequest) Reset()
func (*CreateSkillRequest) String ¶
func (x *CreateSkillRequest) String() string
type DeleteAbilityScoreRequest ¶
type DeleteAbilityScoreRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAbilityScoreRequest) Descriptor
deprecated
func (*DeleteAbilityScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAbilityScoreRequest.ProtoReflect.Descriptor instead.
func (*DeleteAbilityScoreRequest) GetId ¶
func (x *DeleteAbilityScoreRequest) GetId() int64
func (*DeleteAbilityScoreRequest) ProtoMessage ¶
func (*DeleteAbilityScoreRequest) ProtoMessage()
func (*DeleteAbilityScoreRequest) ProtoReflect ¶
func (x *DeleteAbilityScoreRequest) ProtoReflect() protoreflect.Message
func (*DeleteAbilityScoreRequest) Reset ¶
func (x *DeleteAbilityScoreRequest) Reset()
func (*DeleteAbilityScoreRequest) String ¶
func (x *DeleteAbilityScoreRequest) String() string
type DeleteSkillRequest ¶
type DeleteSkillRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSkillRequest) Descriptor
deprecated
func (*DeleteSkillRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSkillRequest.ProtoReflect.Descriptor instead.
func (*DeleteSkillRequest) GetId ¶
func (x *DeleteSkillRequest) GetId() int64
func (*DeleteSkillRequest) ProtoMessage ¶
func (*DeleteSkillRequest) ProtoMessage()
func (*DeleteSkillRequest) ProtoReflect ¶
func (x *DeleteSkillRequest) ProtoReflect() protoreflect.Message
func (*DeleteSkillRequest) Reset ¶
func (x *DeleteSkillRequest) Reset()
func (*DeleteSkillRequest) String ¶
func (x *DeleteSkillRequest) String() string
type GetAbilityScoreRequest ¶
type GetAbilityScoreRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` View GetAbilityScoreRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetAbilityScoreRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*GetAbilityScoreRequest) Descriptor
deprecated
func (*GetAbilityScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAbilityScoreRequest.ProtoReflect.Descriptor instead.
func (*GetAbilityScoreRequest) GetId ¶
func (x *GetAbilityScoreRequest) GetId() int64
func (*GetAbilityScoreRequest) GetView ¶
func (x *GetAbilityScoreRequest) GetView() GetAbilityScoreRequest_View
func (*GetAbilityScoreRequest) ProtoMessage ¶
func (*GetAbilityScoreRequest) ProtoMessage()
func (*GetAbilityScoreRequest) ProtoReflect ¶
func (x *GetAbilityScoreRequest) ProtoReflect() protoreflect.Message
func (*GetAbilityScoreRequest) Reset ¶
func (x *GetAbilityScoreRequest) Reset()
func (*GetAbilityScoreRequest) String ¶
func (x *GetAbilityScoreRequest) String() string
type GetAbilityScoreRequest_View ¶
type GetAbilityScoreRequest_View int32
const ( GetAbilityScoreRequest_VIEW_UNSPECIFIED GetAbilityScoreRequest_View = 0 GetAbilityScoreRequest_BASIC GetAbilityScoreRequest_View = 1 GetAbilityScoreRequest_WITH_EDGE_IDS GetAbilityScoreRequest_View = 2 )
func (GetAbilityScoreRequest_View) Descriptor ¶
func (GetAbilityScoreRequest_View) Descriptor() protoreflect.EnumDescriptor
func (GetAbilityScoreRequest_View) Enum ¶
func (x GetAbilityScoreRequest_View) Enum() *GetAbilityScoreRequest_View
func (GetAbilityScoreRequest_View) EnumDescriptor
deprecated
func (GetAbilityScoreRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetAbilityScoreRequest_View.Descriptor instead.
func (GetAbilityScoreRequest_View) Number ¶
func (x GetAbilityScoreRequest_View) Number() protoreflect.EnumNumber
func (GetAbilityScoreRequest_View) String ¶
func (x GetAbilityScoreRequest_View) String() string
func (GetAbilityScoreRequest_View) Type ¶
func (GetAbilityScoreRequest_View) Type() protoreflect.EnumType
type GetSkillRequest ¶
type GetSkillRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` View GetSkillRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=entpb.GetSkillRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*GetSkillRequest) Descriptor
deprecated
func (*GetSkillRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSkillRequest.ProtoReflect.Descriptor instead.
func (*GetSkillRequest) GetId ¶
func (x *GetSkillRequest) GetId() int64
func (*GetSkillRequest) GetView ¶
func (x *GetSkillRequest) GetView() GetSkillRequest_View
func (*GetSkillRequest) ProtoMessage ¶
func (*GetSkillRequest) ProtoMessage()
func (*GetSkillRequest) ProtoReflect ¶
func (x *GetSkillRequest) ProtoReflect() protoreflect.Message
func (*GetSkillRequest) Reset ¶
func (x *GetSkillRequest) Reset()
func (*GetSkillRequest) String ¶
func (x *GetSkillRequest) String() string
type GetSkillRequest_View ¶
type GetSkillRequest_View int32
const ( GetSkillRequest_VIEW_UNSPECIFIED GetSkillRequest_View = 0 GetSkillRequest_BASIC GetSkillRequest_View = 1 GetSkillRequest_WITH_EDGE_IDS GetSkillRequest_View = 2 )
func (GetSkillRequest_View) Descriptor ¶
func (GetSkillRequest_View) Descriptor() protoreflect.EnumDescriptor
func (GetSkillRequest_View) Enum ¶
func (x GetSkillRequest_View) Enum() *GetSkillRequest_View
func (GetSkillRequest_View) EnumDescriptor
deprecated
func (GetSkillRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetSkillRequest_View.Descriptor instead.
func (GetSkillRequest_View) Number ¶
func (x GetSkillRequest_View) Number() protoreflect.EnumNumber
func (GetSkillRequest_View) String ¶
func (x GetSkillRequest_View) String() string
func (GetSkillRequest_View) Type ¶
func (GetSkillRequest_View) Type() protoreflect.EnumType
type ListAbilityScoreRequest ¶
type ListAbilityScoreRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` View ListAbilityScoreRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListAbilityScoreRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*ListAbilityScoreRequest) Descriptor
deprecated
func (*ListAbilityScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAbilityScoreRequest.ProtoReflect.Descriptor instead.
func (*ListAbilityScoreRequest) GetPageSize ¶
func (x *ListAbilityScoreRequest) GetPageSize() int32
func (*ListAbilityScoreRequest) GetPageToken ¶
func (x *ListAbilityScoreRequest) GetPageToken() string
func (*ListAbilityScoreRequest) GetView ¶
func (x *ListAbilityScoreRequest) GetView() ListAbilityScoreRequest_View
func (*ListAbilityScoreRequest) ProtoMessage ¶
func (*ListAbilityScoreRequest) ProtoMessage()
func (*ListAbilityScoreRequest) ProtoReflect ¶
func (x *ListAbilityScoreRequest) ProtoReflect() protoreflect.Message
func (*ListAbilityScoreRequest) Reset ¶
func (x *ListAbilityScoreRequest) Reset()
func (*ListAbilityScoreRequest) String ¶
func (x *ListAbilityScoreRequest) String() string
type ListAbilityScoreRequest_View ¶
type ListAbilityScoreRequest_View int32
const ( ListAbilityScoreRequest_VIEW_UNSPECIFIED ListAbilityScoreRequest_View = 0 ListAbilityScoreRequest_BASIC ListAbilityScoreRequest_View = 1 ListAbilityScoreRequest_WITH_EDGE_IDS ListAbilityScoreRequest_View = 2 )
func (ListAbilityScoreRequest_View) Descriptor ¶
func (ListAbilityScoreRequest_View) Descriptor() protoreflect.EnumDescriptor
func (ListAbilityScoreRequest_View) Enum ¶
func (x ListAbilityScoreRequest_View) Enum() *ListAbilityScoreRequest_View
func (ListAbilityScoreRequest_View) EnumDescriptor
deprecated
func (ListAbilityScoreRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListAbilityScoreRequest_View.Descriptor instead.
func (ListAbilityScoreRequest_View) Number ¶
func (x ListAbilityScoreRequest_View) Number() protoreflect.EnumNumber
func (ListAbilityScoreRequest_View) String ¶
func (x ListAbilityScoreRequest_View) String() string
func (ListAbilityScoreRequest_View) Type ¶
func (ListAbilityScoreRequest_View) Type() protoreflect.EnumType
type ListAbilityScoreResponse ¶
type ListAbilityScoreResponse struct { AbilityScoreList []*AbilityScore `protobuf:"bytes,1,rep,name=ability_score_list,json=abilityScoreList,proto3" json:"ability_score_list,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAbilityScoreResponse) Descriptor
deprecated
func (*ListAbilityScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAbilityScoreResponse.ProtoReflect.Descriptor instead.
func (*ListAbilityScoreResponse) GetAbilityScoreList ¶
func (x *ListAbilityScoreResponse) GetAbilityScoreList() []*AbilityScore
func (*ListAbilityScoreResponse) GetNextPageToken ¶
func (x *ListAbilityScoreResponse) GetNextPageToken() string
func (*ListAbilityScoreResponse) ProtoMessage ¶
func (*ListAbilityScoreResponse) ProtoMessage()
func (*ListAbilityScoreResponse) ProtoReflect ¶
func (x *ListAbilityScoreResponse) ProtoReflect() protoreflect.Message
func (*ListAbilityScoreResponse) Reset ¶
func (x *ListAbilityScoreResponse) Reset()
func (*ListAbilityScoreResponse) String ¶
func (x *ListAbilityScoreResponse) String() string
type ListSkillRequest ¶
type ListSkillRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` View ListSkillRequest_View `protobuf:"varint,3,opt,name=view,proto3,enum=entpb.ListSkillRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*ListSkillRequest) Descriptor
deprecated
func (*ListSkillRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSkillRequest.ProtoReflect.Descriptor instead.
func (*ListSkillRequest) GetPageSize ¶
func (x *ListSkillRequest) GetPageSize() int32
func (*ListSkillRequest) GetPageToken ¶
func (x *ListSkillRequest) GetPageToken() string
func (*ListSkillRequest) GetView ¶
func (x *ListSkillRequest) GetView() ListSkillRequest_View
func (*ListSkillRequest) ProtoMessage ¶
func (*ListSkillRequest) ProtoMessage()
func (*ListSkillRequest) ProtoReflect ¶
func (x *ListSkillRequest) ProtoReflect() protoreflect.Message
func (*ListSkillRequest) Reset ¶
func (x *ListSkillRequest) Reset()
func (*ListSkillRequest) String ¶
func (x *ListSkillRequest) String() string
type ListSkillRequest_View ¶
type ListSkillRequest_View int32
const ( ListSkillRequest_VIEW_UNSPECIFIED ListSkillRequest_View = 0 ListSkillRequest_BASIC ListSkillRequest_View = 1 ListSkillRequest_WITH_EDGE_IDS ListSkillRequest_View = 2 )
func (ListSkillRequest_View) Descriptor ¶
func (ListSkillRequest_View) Descriptor() protoreflect.EnumDescriptor
func (ListSkillRequest_View) Enum ¶
func (x ListSkillRequest_View) Enum() *ListSkillRequest_View
func (ListSkillRequest_View) EnumDescriptor
deprecated
func (ListSkillRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListSkillRequest_View.Descriptor instead.
func (ListSkillRequest_View) Number ¶
func (x ListSkillRequest_View) Number() protoreflect.EnumNumber
func (ListSkillRequest_View) String ¶
func (x ListSkillRequest_View) String() string
func (ListSkillRequest_View) Type ¶
func (ListSkillRequest_View) Type() protoreflect.EnumType
type ListSkillResponse ¶
type ListSkillResponse struct { SkillList []*Skill `protobuf:"bytes,1,rep,name=skill_list,json=skillList,proto3" json:"skill_list,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSkillResponse) Descriptor
deprecated
func (*ListSkillResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSkillResponse.ProtoReflect.Descriptor instead.
func (*ListSkillResponse) GetNextPageToken ¶
func (x *ListSkillResponse) GetNextPageToken() string
func (*ListSkillResponse) GetSkillList ¶
func (x *ListSkillResponse) GetSkillList() []*Skill
func (*ListSkillResponse) ProtoMessage ¶
func (*ListSkillResponse) ProtoMessage()
func (*ListSkillResponse) ProtoReflect ¶
func (x *ListSkillResponse) ProtoReflect() protoreflect.Message
func (*ListSkillResponse) Reset ¶
func (x *ListSkillResponse) Reset()
func (*ListSkillResponse) String ¶
func (x *ListSkillResponse) String() string
type Skill ¶
type Skill struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Indx string `protobuf:"bytes,2,opt,name=indx,proto3" json:"indx,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Desc []string `protobuf:"bytes,4,rep,name=desc,proto3" json:"desc,omitempty"` AbilityScore *AbilityScore `protobuf:"bytes,5,opt,name=ability_score,json=abilityScore,proto3" json:"ability_score,omitempty"` // contains filtered or unexported fields }
func (*Skill) Descriptor
deprecated
func (*Skill) GetAbilityScore ¶
func (x *Skill) GetAbilityScore() *AbilityScore
func (*Skill) ProtoMessage ¶
func (*Skill) ProtoMessage()
func (*Skill) ProtoReflect ¶
func (x *Skill) ProtoReflect() protoreflect.Message
type SkillService ¶
type SkillService struct { UnimplementedSkillServiceServer // contains filtered or unexported fields }
SkillService implements SkillServiceServer
func NewSkillService ¶
func NewSkillService(client *ent.Client) *SkillService
NewSkillService returns a new SkillService
func (*SkillService) BatchCreate ¶
func (svc *SkillService) BatchCreate(ctx context.Context, req *BatchCreateSkillsRequest) (*BatchCreateSkillsResponse, error)
BatchCreate implements SkillServiceServer.BatchCreate
func (*SkillService) Create ¶
func (svc *SkillService) Create(ctx context.Context, req *CreateSkillRequest) (*Skill, error)
Create implements SkillServiceServer.Create
func (*SkillService) Delete ¶
func (svc *SkillService) Delete(ctx context.Context, req *DeleteSkillRequest) (*emptypb.Empty, error)
Delete implements SkillServiceServer.Delete
func (*SkillService) Get ¶
func (svc *SkillService) Get(ctx context.Context, req *GetSkillRequest) (*Skill, error)
Get implements SkillServiceServer.Get
func (*SkillService) List ¶
func (svc *SkillService) List(ctx context.Context, req *ListSkillRequest) (*ListSkillResponse, error)
List implements SkillServiceServer.List
func (*SkillService) Update ¶
func (svc *SkillService) Update(ctx context.Context, req *UpdateSkillRequest) (*Skill, error)
Update implements SkillServiceServer.Update
type SkillServiceClient ¶
type SkillServiceClient interface { Create(ctx context.Context, in *CreateSkillRequest, opts ...grpc.CallOption) (*Skill, error) Get(ctx context.Context, in *GetSkillRequest, opts ...grpc.CallOption) (*Skill, error) Update(ctx context.Context, in *UpdateSkillRequest, opts ...grpc.CallOption) (*Skill, error) Delete(ctx context.Context, in *DeleteSkillRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) List(ctx context.Context, in *ListSkillRequest, opts ...grpc.CallOption) (*ListSkillResponse, error) BatchCreate(ctx context.Context, in *BatchCreateSkillsRequest, opts ...grpc.CallOption) (*BatchCreateSkillsResponse, error) }
SkillServiceClient is the client API for SkillService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSkillServiceClient ¶
func NewSkillServiceClient(cc grpc.ClientConnInterface) SkillServiceClient
type SkillServiceServer ¶
type SkillServiceServer interface { Create(context.Context, *CreateSkillRequest) (*Skill, error) Get(context.Context, *GetSkillRequest) (*Skill, error) Update(context.Context, *UpdateSkillRequest) (*Skill, error) Delete(context.Context, *DeleteSkillRequest) (*emptypb.Empty, error) List(context.Context, *ListSkillRequest) (*ListSkillResponse, error) BatchCreate(context.Context, *BatchCreateSkillsRequest) (*BatchCreateSkillsResponse, error) // contains filtered or unexported methods }
SkillServiceServer is the server API for SkillService service. All implementations must embed UnimplementedSkillServiceServer for forward compatibility
type UnimplementedAbilityScoreServiceServer ¶
type UnimplementedAbilityScoreServiceServer struct { }
UnimplementedAbilityScoreServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAbilityScoreServiceServer) BatchCreate ¶
func (UnimplementedAbilityScoreServiceServer) BatchCreate(context.Context, *BatchCreateAbilityScoresRequest) (*BatchCreateAbilityScoresResponse, error)
func (UnimplementedAbilityScoreServiceServer) Create ¶
func (UnimplementedAbilityScoreServiceServer) Create(context.Context, *CreateAbilityScoreRequest) (*AbilityScore, error)
func (UnimplementedAbilityScoreServiceServer) Delete ¶
func (UnimplementedAbilityScoreServiceServer) Delete(context.Context, *DeleteAbilityScoreRequest) (*emptypb.Empty, error)
func (UnimplementedAbilityScoreServiceServer) Get ¶
func (UnimplementedAbilityScoreServiceServer) Get(context.Context, *GetAbilityScoreRequest) (*AbilityScore, error)
func (UnimplementedAbilityScoreServiceServer) Update ¶
func (UnimplementedAbilityScoreServiceServer) Update(context.Context, *UpdateAbilityScoreRequest) (*AbilityScore, error)
type UnimplementedSkillServiceServer ¶
type UnimplementedSkillServiceServer struct { }
UnimplementedSkillServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSkillServiceServer) BatchCreate ¶
func (UnimplementedSkillServiceServer) BatchCreate(context.Context, *BatchCreateSkillsRequest) (*BatchCreateSkillsResponse, error)
func (UnimplementedSkillServiceServer) Create ¶
func (UnimplementedSkillServiceServer) Create(context.Context, *CreateSkillRequest) (*Skill, error)
func (UnimplementedSkillServiceServer) Delete ¶
func (UnimplementedSkillServiceServer) Delete(context.Context, *DeleteSkillRequest) (*emptypb.Empty, error)
func (UnimplementedSkillServiceServer) Get ¶
func (UnimplementedSkillServiceServer) Get(context.Context, *GetSkillRequest) (*Skill, error)
func (UnimplementedSkillServiceServer) List ¶
func (UnimplementedSkillServiceServer) List(context.Context, *ListSkillRequest) (*ListSkillResponse, error)
func (UnimplementedSkillServiceServer) Update ¶
func (UnimplementedSkillServiceServer) Update(context.Context, *UpdateSkillRequest) (*Skill, error)
type UnsafeAbilityScoreServiceServer ¶
type UnsafeAbilityScoreServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAbilityScoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AbilityScoreServiceServer will result in compilation errors.
type UnsafeSkillServiceServer ¶
type UnsafeSkillServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSkillServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SkillServiceServer will result in compilation errors.
type UpdateAbilityScoreRequest ¶
type UpdateAbilityScoreRequest struct { AbilityScore *AbilityScore `protobuf:"bytes,1,opt,name=ability_score,json=abilityScore,proto3" json:"ability_score,omitempty"` // contains filtered or unexported fields }
func (*UpdateAbilityScoreRequest) Descriptor
deprecated
func (*UpdateAbilityScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAbilityScoreRequest.ProtoReflect.Descriptor instead.
func (*UpdateAbilityScoreRequest) GetAbilityScore ¶
func (x *UpdateAbilityScoreRequest) GetAbilityScore() *AbilityScore
func (*UpdateAbilityScoreRequest) ProtoMessage ¶
func (*UpdateAbilityScoreRequest) ProtoMessage()
func (*UpdateAbilityScoreRequest) ProtoReflect ¶
func (x *UpdateAbilityScoreRequest) ProtoReflect() protoreflect.Message
func (*UpdateAbilityScoreRequest) Reset ¶
func (x *UpdateAbilityScoreRequest) Reset()
func (*UpdateAbilityScoreRequest) String ¶
func (x *UpdateAbilityScoreRequest) String() string
type UpdateSkillRequest ¶
type UpdateSkillRequest struct { Skill *Skill `protobuf:"bytes,1,opt,name=skill,proto3" json:"skill,omitempty"` // contains filtered or unexported fields }
func (*UpdateSkillRequest) Descriptor
deprecated
func (*UpdateSkillRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSkillRequest.ProtoReflect.Descriptor instead.
func (*UpdateSkillRequest) GetSkill ¶
func (x *UpdateSkillRequest) GetSkill() *Skill
func (*UpdateSkillRequest) ProtoMessage ¶
func (*UpdateSkillRequest) ProtoMessage()
func (*UpdateSkillRequest) ProtoReflect ¶
func (x *UpdateSkillRequest) ProtoReflect() protoreflect.Message
func (*UpdateSkillRequest) Reset ¶
func (x *UpdateSkillRequest) Reset()
func (*UpdateSkillRequest) String ¶
func (x *UpdateSkillRequest) String() string