Documentation ¶
Index ¶
- Variables
- func RegisterExerciseStoreServer(s grpc.ServiceRegistrar, srv ExerciseStoreServer)
- type AddCategoryRequest
- func (*AddCategoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddCategoryRequest) GetCatDescription() string
- func (x *AddCategoryRequest) GetName() string
- func (x *AddCategoryRequest) GetTag() string
- func (*AddCategoryRequest) ProtoMessage()
- func (x *AddCategoryRequest) ProtoReflect() protoreflect.Message
- func (x *AddCategoryRequest) Reset()
- func (x *AddCategoryRequest) String() string
- type AddExerciseRequest
- func (*AddExerciseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddExerciseRequest) GetContent() string
- func (*AddExerciseRequest) ProtoMessage()
- func (x *AddExerciseRequest) ProtoReflect() protoreflect.Message
- func (x *AddExerciseRequest) Reset()
- func (x *AddExerciseRequest) String() string
- type ChildExercise
- func (*ChildExercise) Descriptor() ([]byte, []int)deprecated
- func (x *ChildExercise) GetCategory() string
- func (x *ChildExercise) GetEnvFlag() string
- func (x *ChildExercise) GetName() string
- func (x *ChildExercise) GetOutcome() []string
- func (x *ChildExercise) GetPoints() int32
- func (x *ChildExercise) GetPrerequisite() []string
- func (x *ChildExercise) GetStatic() string
- func (x *ChildExercise) GetTag() string
- func (x *ChildExercise) GetTeamDescription() string
- func (*ChildExercise) ProtoMessage()
- func (x *ChildExercise) ProtoReflect() protoreflect.Message
- func (x *ChildExercise) Reset()
- func (x *ChildExercise) String() string
- type Empty
- type EnvVariable
- type Exercise
- func (*Exercise) Descriptor() ([]byte, []int)deprecated
- func (x *Exercise) GetCategory() string
- func (x *Exercise) GetInstance() []*ExerciseInstance
- func (x *Exercise) GetName() string
- func (x *Exercise) GetOrganizerDescription() string
- func (x *Exercise) GetSecret() bool
- func (x *Exercise) GetStatic() bool
- func (x *Exercise) GetStatus() int32
- func (x *Exercise) GetTag() string
- func (*Exercise) ProtoMessage()
- func (x *Exercise) ProtoReflect() protoreflect.Message
- func (x *Exercise) Reset()
- func (x *Exercise) String() string
- type ExerciseInstance
- func (*ExerciseInstance) Descriptor() ([]byte, []int)deprecated
- func (x *ExerciseInstance) GetChildren() []*ChildExercise
- func (x *ExerciseInstance) GetCpu() float32
- func (x *ExerciseInstance) GetEnvs() []*EnvVariable
- func (x *ExerciseInstance) GetImage() string
- func (x *ExerciseInstance) GetMemory() int32
- func (x *ExerciseInstance) GetRecords() []*Records
- func (*ExerciseInstance) ProtoMessage()
- func (x *ExerciseInstance) ProtoReflect() protoreflect.Message
- func (x *ExerciseInstance) Reset()
- func (x *ExerciseInstance) String() string
- type ExerciseStoreClient
- type ExerciseStoreServer
- type GetCategoriesResponse
- func (*GetCategoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCategoriesResponse) GetCategories() []*GetCategoriesResponse_Category
- func (*GetCategoriesResponse) ProtoMessage()
- func (x *GetCategoriesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCategoriesResponse) Reset()
- func (x *GetCategoriesResponse) String() string
- type GetCategoriesResponse_Category
- func (*GetCategoriesResponse_Category) Descriptor() ([]byte, []int)deprecated
- func (x *GetCategoriesResponse_Category) GetCatDesc() string
- func (x *GetCategoriesResponse_Category) GetName() string
- func (x *GetCategoriesResponse_Category) GetTag() string
- func (*GetCategoriesResponse_Category) ProtoMessage()
- func (x *GetCategoriesResponse_Category) ProtoReflect() protoreflect.Message
- func (x *GetCategoriesResponse_Category) Reset()
- func (x *GetCategoriesResponse_Category) String() string
- type GetExerciseByCategoryRequest
- func (*GetExerciseByCategoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExerciseByCategoryRequest) GetCategory() string
- func (*GetExerciseByCategoryRequest) ProtoMessage()
- func (x *GetExerciseByCategoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetExerciseByCategoryRequest) Reset()
- func (x *GetExerciseByCategoryRequest) String() string
- type GetExerciseByTagsRequest
- func (*GetExerciseByTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExerciseByTagsRequest) GetTag() []string
- func (*GetExerciseByTagsRequest) ProtoMessage()
- func (x *GetExerciseByTagsRequest) ProtoReflect() protoreflect.Message
- func (x *GetExerciseByTagsRequest) Reset()
- func (x *GetExerciseByTagsRequest) String() string
- type GetExercisesResponse
- func (*GetExercisesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetExercisesResponse) GetExercises() []*Exercise
- func (*GetExercisesResponse) ProtoMessage()
- func (x *GetExercisesResponse) ProtoReflect() protoreflect.Message
- func (x *GetExercisesResponse) Reset()
- func (x *GetExercisesResponse) String() string
- type Records
- func (*Records) Descriptor() ([]byte, []int)deprecated
- func (x *Records) GetData() string
- func (x *Records) GetName() string
- func (x *Records) GetType() string
- func (*Records) ProtoMessage()
- func (x *Records) ProtoReflect() protoreflect.Message
- func (x *Records) Reset()
- func (x *Records) String() string
- type ResponseStatus
- type UnimplementedExerciseStoreServer
- func (UnimplementedExerciseStoreServer) AddCategory(context.Context, *AddCategoryRequest) (*ResponseStatus, error)
- func (UnimplementedExerciseStoreServer) AddExercise(context.Context, *AddExerciseRequest) (*ResponseStatus, error)
- func (UnimplementedExerciseStoreServer) GetCategories(context.Context, *Empty) (*GetCategoriesResponse, error)
- func (UnimplementedExerciseStoreServer) GetExerciseByCategory(context.Context, *GetExerciseByCategoryRequest) (*GetExercisesResponse, error)
- func (UnimplementedExerciseStoreServer) GetExerciseByTags(context.Context, *GetExerciseByTagsRequest) (*GetExercisesResponse, error)
- func (UnimplementedExerciseStoreServer) GetExercises(context.Context, *Empty) (*GetExercisesResponse, error)
- func (UnimplementedExerciseStoreServer) UpdateStatus(context.Context, *Empty) (*ResponseStatus, error)
- type UnsafeExerciseStoreServer
Constants ¶
This section is empty.
Variables ¶
var ExerciseStore_ServiceDesc = grpc.ServiceDesc{ ServiceName: "exercise.ExerciseStore", HandlerType: (*ExerciseStoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetExercises", Handler: _ExerciseStore_GetExercises_Handler, }, { MethodName: "GetExerciseByTags", Handler: _ExerciseStore_GetExerciseByTags_Handler, }, { MethodName: "GetExerciseByCategory", Handler: _ExerciseStore_GetExerciseByCategory_Handler, }, { MethodName: "GetCategories", Handler: _ExerciseStore_GetCategories_Handler, }, { MethodName: "UpdateStatus", Handler: _ExerciseStore_UpdateStatus_Handler, }, { MethodName: "AddExercise", Handler: _ExerciseStore_AddExercise_Handler, }, { MethodName: "AddCategory", Handler: _ExerciseStore_AddCategory_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "exercise.proto", }
ExerciseStore_ServiceDesc is the grpc.ServiceDesc for ExerciseStore service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_exercise_proto protoreflect.FileDescriptor
Functions ¶
func RegisterExerciseStoreServer ¶
func RegisterExerciseStoreServer(s grpc.ServiceRegistrar, srv ExerciseStoreServer)
Types ¶
type AddCategoryRequest ¶
type AddCategoryRequest struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CatDescription string `protobuf:"bytes,3,opt,name=catDescription,proto3" json:"catDescription,omitempty"` // contains filtered or unexported fields }
func (*AddCategoryRequest) Descriptor
deprecated
func (*AddCategoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCategoryRequest.ProtoReflect.Descriptor instead.
func (*AddCategoryRequest) GetCatDescription ¶
func (x *AddCategoryRequest) GetCatDescription() string
func (*AddCategoryRequest) GetName ¶
func (x *AddCategoryRequest) GetName() string
func (*AddCategoryRequest) GetTag ¶
func (x *AddCategoryRequest) GetTag() string
func (*AddCategoryRequest) ProtoMessage ¶
func (*AddCategoryRequest) ProtoMessage()
func (*AddCategoryRequest) ProtoReflect ¶
func (x *AddCategoryRequest) ProtoReflect() protoreflect.Message
func (*AddCategoryRequest) Reset ¶
func (x *AddCategoryRequest) Reset()
func (*AddCategoryRequest) String ¶
func (x *AddCategoryRequest) String() string
type AddExerciseRequest ¶
type AddExerciseRequest struct { Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*AddExerciseRequest) Descriptor
deprecated
func (*AddExerciseRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddExerciseRequest.ProtoReflect.Descriptor instead.
func (*AddExerciseRequest) GetContent ¶
func (x *AddExerciseRequest) GetContent() string
func (*AddExerciseRequest) ProtoMessage ¶
func (*AddExerciseRequest) ProtoMessage()
func (*AddExerciseRequest) ProtoReflect ¶
func (x *AddExerciseRequest) ProtoReflect() protoreflect.Message
func (*AddExerciseRequest) Reset ¶
func (x *AddExerciseRequest) Reset()
func (*AddExerciseRequest) String ¶
func (x *AddExerciseRequest) String() string
type ChildExercise ¶
type ChildExercise struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` EnvFlag string `protobuf:"bytes,3,opt,name=env_flag,json=envFlag,proto3" json:"env_flag,omitempty"` Points int32 `protobuf:"varint,4,opt,name=points,proto3" json:"points,omitempty"` Static string `protobuf:"bytes,5,opt,name=static,proto3" json:"static,omitempty"` TeamDescription string `protobuf:"bytes,6,opt,name=team_description,json=teamDescription,proto3" json:"team_description,omitempty"` Category string `protobuf:"bytes,7,opt,name=category,proto3" json:"category,omitempty"` Prerequisite []string `protobuf:"bytes,8,rep,name=prerequisite,proto3" json:"prerequisite,omitempty"` Outcome []string `protobuf:"bytes,9,rep,name=outcome,proto3" json:"outcome,omitempty"` // contains filtered or unexported fields }
func (*ChildExercise) Descriptor
deprecated
func (*ChildExercise) Descriptor() ([]byte, []int)
Deprecated: Use ChildExercise.ProtoReflect.Descriptor instead.
func (*ChildExercise) GetCategory ¶
func (x *ChildExercise) GetCategory() string
func (*ChildExercise) GetEnvFlag ¶
func (x *ChildExercise) GetEnvFlag() string
func (*ChildExercise) GetName ¶
func (x *ChildExercise) GetName() string
func (*ChildExercise) GetOutcome ¶
func (x *ChildExercise) GetOutcome() []string
func (*ChildExercise) GetPoints ¶
func (x *ChildExercise) GetPoints() int32
func (*ChildExercise) GetPrerequisite ¶
func (x *ChildExercise) GetPrerequisite() []string
func (*ChildExercise) GetStatic ¶
func (x *ChildExercise) GetStatic() string
func (*ChildExercise) GetTag ¶
func (x *ChildExercise) GetTag() string
func (*ChildExercise) GetTeamDescription ¶
func (x *ChildExercise) GetTeamDescription() string
func (*ChildExercise) ProtoMessage ¶
func (*ChildExercise) ProtoMessage()
func (*ChildExercise) ProtoReflect ¶
func (x *ChildExercise) ProtoReflect() protoreflect.Message
func (*ChildExercise) Reset ¶
func (x *ChildExercise) Reset()
func (*ChildExercise) String ¶
func (x *ChildExercise) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EnvVariable ¶
type EnvVariable struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*EnvVariable) Descriptor
deprecated
func (*EnvVariable) Descriptor() ([]byte, []int)
Deprecated: Use EnvVariable.ProtoReflect.Descriptor instead.
func (*EnvVariable) GetName ¶
func (x *EnvVariable) GetName() string
func (*EnvVariable) GetValue ¶
func (x *EnvVariable) GetValue() string
func (*EnvVariable) ProtoMessage ¶
func (*EnvVariable) ProtoMessage()
func (*EnvVariable) ProtoReflect ¶
func (x *EnvVariable) ProtoReflect() protoreflect.Message
func (*EnvVariable) Reset ¶
func (x *EnvVariable) Reset()
func (*EnvVariable) String ¶
func (x *EnvVariable) String() string
type Exercise ¶
type Exercise struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Secret bool `protobuf:"varint,3,opt,name=secret,proto3" json:"secret,omitempty"` Static bool `protobuf:"varint,4,opt,name=static,proto3" json:"static,omitempty"` Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"` Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` Instance []*ExerciseInstance `protobuf:"bytes,7,rep,name=instance,proto3" json:"instance,omitempty"` OrganizerDescription string `protobuf:"bytes,8,opt,name=organizer_description,json=organizerDescription,proto3" json:"organizer_description,omitempty"` // contains filtered or unexported fields }
func (*Exercise) Descriptor
deprecated
func (*Exercise) GetCategory ¶
func (*Exercise) GetInstance ¶
func (x *Exercise) GetInstance() []*ExerciseInstance
func (*Exercise) GetOrganizerDescription ¶
func (*Exercise) ProtoMessage ¶
func (*Exercise) ProtoMessage()
func (*Exercise) ProtoReflect ¶
func (x *Exercise) ProtoReflect() protoreflect.Message
type ExerciseInstance ¶
type ExerciseInstance struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Memory int32 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` Cpu float32 `protobuf:"fixed32,3,opt,name=cpu,proto3" json:"cpu,omitempty"` Envs []*EnvVariable `protobuf:"bytes,4,rep,name=envs,proto3" json:"envs,omitempty"` Records []*Records `protobuf:"bytes,5,rep,name=records,proto3" json:"records,omitempty"` Children []*ChildExercise `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*ExerciseInstance) Descriptor
deprecated
func (*ExerciseInstance) Descriptor() ([]byte, []int)
Deprecated: Use ExerciseInstance.ProtoReflect.Descriptor instead.
func (*ExerciseInstance) GetChildren ¶
func (x *ExerciseInstance) GetChildren() []*ChildExercise
func (*ExerciseInstance) GetCpu ¶
func (x *ExerciseInstance) GetCpu() float32
func (*ExerciseInstance) GetEnvs ¶
func (x *ExerciseInstance) GetEnvs() []*EnvVariable
func (*ExerciseInstance) GetImage ¶
func (x *ExerciseInstance) GetImage() string
func (*ExerciseInstance) GetMemory ¶
func (x *ExerciseInstance) GetMemory() int32
func (*ExerciseInstance) GetRecords ¶
func (x *ExerciseInstance) GetRecords() []*Records
func (*ExerciseInstance) ProtoMessage ¶
func (*ExerciseInstance) ProtoMessage()
func (*ExerciseInstance) ProtoReflect ¶
func (x *ExerciseInstance) ProtoReflect() protoreflect.Message
func (*ExerciseInstance) Reset ¶
func (x *ExerciseInstance) Reset()
func (*ExerciseInstance) String ¶
func (x *ExerciseInstance) String() string
type ExerciseStoreClient ¶
type ExerciseStoreClient interface { GetExercises(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetExercisesResponse, error) GetExerciseByTags(ctx context.Context, in *GetExerciseByTagsRequest, opts ...grpc.CallOption) (*GetExercisesResponse, error) GetExerciseByCategory(ctx context.Context, in *GetExerciseByCategoryRequest, opts ...grpc.CallOption) (*GetExercisesResponse, error) GetCategories(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetCategoriesResponse, error) UpdateStatus(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ResponseStatus, error) //todo future implementation, those will be managed by the webclient AddExercise(ctx context.Context, in *AddExerciseRequest, opts ...grpc.CallOption) (*ResponseStatus, error) AddCategory(ctx context.Context, in *AddCategoryRequest, opts ...grpc.CallOption) (*ResponseStatus, error) }
ExerciseStoreClient is the client API for ExerciseStore 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 NewExerciseStoreClient ¶
func NewExerciseStoreClient(cc grpc.ClientConnInterface) ExerciseStoreClient
type ExerciseStoreServer ¶
type ExerciseStoreServer interface { GetExercises(context.Context, *Empty) (*GetExercisesResponse, error) GetExerciseByTags(context.Context, *GetExerciseByTagsRequest) (*GetExercisesResponse, error) GetExerciseByCategory(context.Context, *GetExerciseByCategoryRequest) (*GetExercisesResponse, error) GetCategories(context.Context, *Empty) (*GetCategoriesResponse, error) UpdateStatus(context.Context, *Empty) (*ResponseStatus, error) //todo future implementation, those will be managed by the webclient AddExercise(context.Context, *AddExerciseRequest) (*ResponseStatus, error) AddCategory(context.Context, *AddCategoryRequest) (*ResponseStatus, error) // contains filtered or unexported methods }
ExerciseStoreServer is the server API for ExerciseStore service. All implementations must embed UnimplementedExerciseStoreServer for forward compatibility
type GetCategoriesResponse ¶
type GetCategoriesResponse struct { Categories []*GetCategoriesResponse_Category `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"` // contains filtered or unexported fields }
func (*GetCategoriesResponse) Descriptor
deprecated
func (*GetCategoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCategoriesResponse.ProtoReflect.Descriptor instead.
func (*GetCategoriesResponse) GetCategories ¶
func (x *GetCategoriesResponse) GetCategories() []*GetCategoriesResponse_Category
func (*GetCategoriesResponse) ProtoMessage ¶
func (*GetCategoriesResponse) ProtoMessage()
func (*GetCategoriesResponse) ProtoReflect ¶
func (x *GetCategoriesResponse) ProtoReflect() protoreflect.Message
func (*GetCategoriesResponse) Reset ¶
func (x *GetCategoriesResponse) Reset()
func (*GetCategoriesResponse) String ¶
func (x *GetCategoriesResponse) String() string
type GetCategoriesResponse_Category ¶
type GetCategoriesResponse_Category struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CatDesc string `protobuf:"bytes,3,opt,name=catDesc,proto3" json:"catDesc,omitempty"` // contains filtered or unexported fields }
func (*GetCategoriesResponse_Category) Descriptor
deprecated
func (*GetCategoriesResponse_Category) Descriptor() ([]byte, []int)
Deprecated: Use GetCategoriesResponse_Category.ProtoReflect.Descriptor instead.
func (*GetCategoriesResponse_Category) GetCatDesc ¶
func (x *GetCategoriesResponse_Category) GetCatDesc() string
func (*GetCategoriesResponse_Category) GetName ¶
func (x *GetCategoriesResponse_Category) GetName() string
func (*GetCategoriesResponse_Category) GetTag ¶
func (x *GetCategoriesResponse_Category) GetTag() string
func (*GetCategoriesResponse_Category) ProtoMessage ¶
func (*GetCategoriesResponse_Category) ProtoMessage()
func (*GetCategoriesResponse_Category) ProtoReflect ¶
func (x *GetCategoriesResponse_Category) ProtoReflect() protoreflect.Message
func (*GetCategoriesResponse_Category) Reset ¶
func (x *GetCategoriesResponse_Category) Reset()
func (*GetCategoriesResponse_Category) String ¶
func (x *GetCategoriesResponse_Category) String() string
type GetExerciseByCategoryRequest ¶
type GetExerciseByCategoryRequest struct { Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*GetExerciseByCategoryRequest) Descriptor
deprecated
func (*GetExerciseByCategoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExerciseByCategoryRequest.ProtoReflect.Descriptor instead.
func (*GetExerciseByCategoryRequest) GetCategory ¶
func (x *GetExerciseByCategoryRequest) GetCategory() string
func (*GetExerciseByCategoryRequest) ProtoMessage ¶
func (*GetExerciseByCategoryRequest) ProtoMessage()
func (*GetExerciseByCategoryRequest) ProtoReflect ¶
func (x *GetExerciseByCategoryRequest) ProtoReflect() protoreflect.Message
func (*GetExerciseByCategoryRequest) Reset ¶
func (x *GetExerciseByCategoryRequest) Reset()
func (*GetExerciseByCategoryRequest) String ¶
func (x *GetExerciseByCategoryRequest) String() string
type GetExerciseByTagsRequest ¶
type GetExerciseByTagsRequest struct { Tag []string `protobuf:"bytes,1,rep,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*GetExerciseByTagsRequest) Descriptor
deprecated
func (*GetExerciseByTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExerciseByTagsRequest.ProtoReflect.Descriptor instead.
func (*GetExerciseByTagsRequest) GetTag ¶
func (x *GetExerciseByTagsRequest) GetTag() []string
func (*GetExerciseByTagsRequest) ProtoMessage ¶
func (*GetExerciseByTagsRequest) ProtoMessage()
func (*GetExerciseByTagsRequest) ProtoReflect ¶
func (x *GetExerciseByTagsRequest) ProtoReflect() protoreflect.Message
func (*GetExerciseByTagsRequest) Reset ¶
func (x *GetExerciseByTagsRequest) Reset()
func (*GetExerciseByTagsRequest) String ¶
func (x *GetExerciseByTagsRequest) String() string
type GetExercisesResponse ¶
type GetExercisesResponse struct { Exercises []*Exercise `protobuf:"bytes,1,rep,name=exercises,proto3" json:"exercises,omitempty"` // contains filtered or unexported fields }
func (*GetExercisesResponse) Descriptor
deprecated
func (*GetExercisesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetExercisesResponse.ProtoReflect.Descriptor instead.
func (*GetExercisesResponse) GetExercises ¶
func (x *GetExercisesResponse) GetExercises() []*Exercise
func (*GetExercisesResponse) ProtoMessage ¶
func (*GetExercisesResponse) ProtoMessage()
func (*GetExercisesResponse) ProtoReflect ¶
func (x *GetExercisesResponse) ProtoReflect() protoreflect.Message
func (*GetExercisesResponse) Reset ¶
func (x *GetExercisesResponse) Reset()
func (*GetExercisesResponse) String ¶
func (x *GetExercisesResponse) String() string
type Records ¶
type Records struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Records) Descriptor
deprecated
func (*Records) ProtoMessage ¶
func (*Records) ProtoMessage()
func (*Records) ProtoReflect ¶
func (x *Records) ProtoReflect() protoreflect.Message
type ResponseStatus ¶
type ResponseStatus struct {
// contains filtered or unexported fields
}
func (*ResponseStatus) Descriptor
deprecated
func (*ResponseStatus) Descriptor() ([]byte, []int)
Deprecated: Use ResponseStatus.ProtoReflect.Descriptor instead.
func (*ResponseStatus) ProtoMessage ¶
func (*ResponseStatus) ProtoMessage()
func (*ResponseStatus) ProtoReflect ¶
func (x *ResponseStatus) ProtoReflect() protoreflect.Message
func (*ResponseStatus) Reset ¶
func (x *ResponseStatus) Reset()
func (*ResponseStatus) String ¶
func (x *ResponseStatus) String() string
type UnimplementedExerciseStoreServer ¶
type UnimplementedExerciseStoreServer struct { }
UnimplementedExerciseStoreServer must be embedded to have forward compatible implementations.
func (UnimplementedExerciseStoreServer) AddCategory ¶
func (UnimplementedExerciseStoreServer) AddCategory(context.Context, *AddCategoryRequest) (*ResponseStatus, error)
func (UnimplementedExerciseStoreServer) AddExercise ¶
func (UnimplementedExerciseStoreServer) AddExercise(context.Context, *AddExerciseRequest) (*ResponseStatus, error)
func (UnimplementedExerciseStoreServer) GetCategories ¶
func (UnimplementedExerciseStoreServer) GetCategories(context.Context, *Empty) (*GetCategoriesResponse, error)
func (UnimplementedExerciseStoreServer) GetExerciseByCategory ¶
func (UnimplementedExerciseStoreServer) GetExerciseByCategory(context.Context, *GetExerciseByCategoryRequest) (*GetExercisesResponse, error)
func (UnimplementedExerciseStoreServer) GetExerciseByTags ¶
func (UnimplementedExerciseStoreServer) GetExerciseByTags(context.Context, *GetExerciseByTagsRequest) (*GetExercisesResponse, error)
func (UnimplementedExerciseStoreServer) GetExercises ¶
func (UnimplementedExerciseStoreServer) GetExercises(context.Context, *Empty) (*GetExercisesResponse, error)
func (UnimplementedExerciseStoreServer) UpdateStatus ¶
func (UnimplementedExerciseStoreServer) UpdateStatus(context.Context, *Empty) (*ResponseStatus, error)
type UnsafeExerciseStoreServer ¶
type UnsafeExerciseStoreServer interface {
// contains filtered or unexported methods
}
UnsafeExerciseStoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExerciseStoreServer will result in compilation errors.