Documentation ¶
Index ¶
- func ConvertCheckPBtoCheck(pb *checkpb.Check) (*check.Check, error)
- func ConvertCheckToCheckPb(obj *check.Check) *checkpb.Check
- func ConvertCompetitionToCompetitionPB(comp *competition.Competition) (*competitionpb.Competition, error)
- func ConvertDynamicConfigPBToDynamicConfig(pb *configpb.DynamicConfig) *config.DynamicConfig
- func ConvertDynamicConfigToDynamicConfigPB(obj *config.DynamicConfig) *configpb.DynamicConfig
- func ConvertHostGroupPBtoHostGroup(requireID bool, pb *host_grouppb.HostGroup) (*hostgroup.HostGroup, error)
- func ConvertHostGroupToHostGroupPb(obj *hostgroup.HostGroup) *host_grouppb.HostGroup
- func ConvertHostPBtoHost(requireID bool, pb *hostpb.Host) (*host.Host, error)
- func ConvertHostToHostPb(obj *host.Host) *hostpb.Host
- func ConvertPolicyPBToPolicy(pb *policypb.Policy) *policy.Policy
- func ConvertPolicyToPolicyPB(obj *policy.Policy) *policypb.Policy
- func ConvertPropertyPBtoProperty(pb *propertypb.Property) (*property.Property, error)
- func ConvertPropertyToPropertyPb(obj *property.Property) *propertypb.Property
- func ConvertRoundPBtoRound(requireID bool, pb *roundpb.Round) (*round.Round, error)
- func ConvertRoundToRoundPb(obj *round.Round) *roundpb.Round
- func ConvertServiceGroupPBtoServiceGroup(requireID bool, sg *service_grouppb.ServiceGroup) (*servicegroup.ServiceGroup, error)
- func ConvertServiceGroupToServiceGroupPb(obj *servicegroup.ServiceGroup) *service_grouppb.ServiceGroup
- func ConvertServicePBtoService(requireID bool, pb *servicepb.Service) (*service.Service, error)
- func ConvertServiceToServicePb(obj *service.Service) *servicepb.Service
- func ConvertTeamPBtoTeam(requireID bool, pb *teampb.Team) (*team.Team, error)
- func ConvertTeamToTeamPb(obj *team.Team) *teampb.Team
- func ConvertUserPBtoUser(requireID bool, pb *userpb.User) (*user.User, error)
- func ConvertUserToUserPb(obj *user.User) *userpb.User
- func UserRoleToRolePB(r string) userpb.Role
- type AuthController
- type CheckController
- func (c *CheckController) GetAllByRoundID(ctx context.Context, request *checkpb.GetAllByRoundIDRequest) (*checkpb.GetAllByRoundIDResponse, error)
- func (c *CheckController) GetAllByServiceID(ctx context.Context, request *checkpb.GetAllByServiceIDRequest) (*checkpb.GetAllByServiceIDResponse, error)
- func (c *CheckController) GetByRoundServiceID(ctx context.Context, request *checkpb.GetByRoundServiceIDRequest) (*checkpb.GetByRoundServiceIDResponse, error)
- type CompetitionController
- func (c CompetitionController) DeleteCompetition(ctx context.Context, _ *competitionpb.DeleteCompetitionRequest) (*competitionpb.DeleteCompetitionResponse, error)
- func (c CompetitionController) FetchCoreCompetition(ctx context.Context, _ *competitionpb.FetchCoreCompetitionRequest) (*competitionpb.FetchCoreCompetitionResponse, error)
- func (c CompetitionController) FetchEntireCompetition(ctx context.Context, _ *competitionpb.FetchEntireCompetitionRequest) (*competitionpb.FetchEntireCompetitionResponse, error)
- func (c CompetitionController) LoadCompetition(ctx context.Context, request *competitionpb.LoadCompetitionRequest) (*competitionpb.LoadCompetitionResponse, error)
- func (c CompetitionController) ResetScores(ctx context.Context, _ *competitionpb.ResetScoresRequest) (*competitionpb.ResetScoresResponse, error)
- type ConfigController
- type HostController
- func (p HostController) Delete(ctx context.Context, request *hostpb.DeleteRequest) (*hostpb.DeleteResponse, error)
- func (p HostController) GetAll(ctx context.Context, _ *hostpb.GetAllRequest) (*hostpb.GetAllResponse, error)
- func (p HostController) GetByID(ctx context.Context, request *hostpb.GetByIDRequest) (*hostpb.GetByIDResponse, error)
- func (p HostController) Store(ctx context.Context, request *hostpb.StoreRequest) (*hostpb.StoreResponse, error)
- func (p HostController) Update(ctx context.Context, request *hostpb.UpdateRequest) (*hostpb.UpdateResponse, error)
- type HostGroupController
- func (p HostGroupController) Delete(ctx context.Context, request *host_grouppb.DeleteRequest) (*host_grouppb.DeleteResponse, error)
- func (p HostGroupController) GetAll(ctx context.Context, request *host_grouppb.GetAllRequest) (*host_grouppb.GetAllResponse, error)
- func (p HostGroupController) GetByID(ctx context.Context, request *host_grouppb.GetByIDRequest) (*host_grouppb.GetByIDResponse, error)
- func (p HostGroupController) Store(ctx context.Context, request *host_grouppb.StoreRequest) (*host_grouppb.StoreResponse, error)
- func (p HostGroupController) Update(ctx context.Context, request *host_grouppb.UpdateRequest) (*host_grouppb.UpdateResponse, error)
- type PolicyController
- type PropertyController
- func (p PropertyController) Delete(ctx context.Context, request *propertypb.DeleteRequest) (*propertypb.DeleteResponse, error)
- func (p PropertyController) GetAll(ctx context.Context, _ *propertypb.GetAllRequest) (*propertypb.GetAllResponse, error)
- func (p PropertyController) GetAllByServiceID(ctx context.Context, request *propertypb.GetAllByServiceIDRequest) (*propertypb.GetAllByServiceIDResponse, error)
- func (p PropertyController) GetByServiceIDKey(ctx context.Context, request *propertypb.GetByServiceIDKeyRequest) (*propertypb.GetByServiceIDKeyResponse, error)
- func (p PropertyController) Store(ctx context.Context, request *propertypb.StoreRequest) (*propertypb.StoreResponse, error)
- func (p PropertyController) Update(ctx context.Context, request *propertypb.UpdateRequest) (*propertypb.UpdateResponse, error)
- type ReportController
- type RoundController
- func (r RoundController) GetAll(ctx context.Context, _ *roundpb.GetAllRequest) (*roundpb.GetAllResponse, error)
- func (r RoundController) GetByID(ctx context.Context, request *roundpb.GetByIDRequest) (*roundpb.GetByIDResponse, error)
- func (r RoundController) GetLastNonElapsingRound(ctx context.Context, _ *roundpb.GetLastNonElapsingRoundRequest) (*roundpb.GetLastNonElapsingRoundResponse, error)
- func (r RoundController) GetLastRound(ctx context.Context, _ *roundpb.GetLastRoundRequest) (*roundpb.GetLastRoundResponse, error)
- type ServiceController
- func (p ServiceController) Delete(ctx context.Context, request *servicepb.DeleteRequest) (*servicepb.DeleteResponse, error)
- func (p ServiceController) GetAll(ctx context.Context, request *servicepb.GetAllRequest) (*servicepb.GetAllResponse, error)
- func (p ServiceController) GetByID(ctx context.Context, request *servicepb.GetByIDRequest) (*servicepb.GetByIDResponse, error)
- func (p ServiceController) Store(ctx context.Context, request *servicepb.StoreRequest) (*servicepb.StoreResponse, error)
- func (p ServiceController) TestService(ctx context.Context, request *servicepb.TestServiceRequest) (*servicepb.TestServiceResponse, error)
- func (p ServiceController) Update(ctx context.Context, request *servicepb.UpdateRequest) (*servicepb.UpdateResponse, error)
- type ServiceGroupController
- func (p ServiceGroupController) Delete(ctx context.Context, request *service_grouppb.DeleteRequest) (*service_grouppb.DeleteResponse, error)
- func (p ServiceGroupController) GetAll(ctx context.Context, request *service_grouppb.GetAllRequest) (*service_grouppb.GetAllResponse, error)
- func (p ServiceGroupController) GetByID(ctx context.Context, request *service_grouppb.GetByIDRequest) (*service_grouppb.GetByIDResponse, error)
- func (p ServiceGroupController) Redeploy(ctx context.Context, request *service_grouppb.RedeployRequest) (*service_grouppb.RedeployResponse, error)
- func (p ServiceGroupController) Store(ctx context.Context, request *service_grouppb.StoreRequest) (*service_grouppb.StoreResponse, error)
- func (p ServiceGroupController) Update(ctx context.Context, request *service_grouppb.UpdateRequest) (*service_grouppb.UpdateResponse, error)
- type StaticConfigController
- type TeamController
- func (p TeamController) Delete(ctx context.Context, request *teampb.DeleteRequest) (*teampb.DeleteResponse, error)
- func (p TeamController) GetAll(ctx context.Context, _ *teampb.GetAllRequest) (*teampb.GetAllResponse, error)
- func (p TeamController) GetByID(ctx context.Context, request *teampb.GetByIDRequest) (*teampb.GetByIDResponse, error)
- func (p TeamController) Store(ctx context.Context, request *teampb.StoreRequest) (*teampb.StoreResponse, error)
- func (p TeamController) Update(ctx context.Context, request *teampb.UpdateRequest) (*teampb.UpdateResponse, error)
- type UserController
- func (p UserController) Delete(ctx context.Context, request *userpb.DeleteRequest) (*userpb.DeleteResponse, error)
- func (p UserController) GetAll(ctx context.Context, _ *userpb.GetAllRequest) (*userpb.GetAllResponse, error)
- func (p UserController) GetByID(ctx context.Context, request *userpb.GetByIDRequest) (*userpb.GetByIDResponse, error)
- func (p UserController) GetByUsername(ctx context.Context, request *userpb.GetByUsernameRequest) (*userpb.GetByUsernameResponse, error)
- func (p UserController) Store(ctx context.Context, request *userpb.StoreRequest) (*userpb.StoreResponse, error)
- func (p UserController) Update(ctx context.Context, request *userpb.UpdateRequest) (*userpb.UpdateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCompetitionToCompetitionPB ¶
func ConvertCompetitionToCompetitionPB(comp *competition.Competition) (*competitionpb.Competition, error)
func ConvertDynamicConfigPBToDynamicConfig ¶
func ConvertDynamicConfigPBToDynamicConfig(pb *configpb.DynamicConfig) *config.DynamicConfig
func ConvertDynamicConfigToDynamicConfigPB ¶
func ConvertDynamicConfigToDynamicConfigPB(obj *config.DynamicConfig) *configpb.DynamicConfig
func ConvertHostGroupToHostGroupPb ¶
func ConvertHostGroupToHostGroupPb(obj *hostgroup.HostGroup) *host_grouppb.HostGroup
func ConvertHostPBtoHost ¶
func ConvertPropertyPBtoProperty ¶
func ConvertPropertyPBtoProperty(pb *propertypb.Property) (*property.Property, error)
func ConvertPropertyToPropertyPb ¶
func ConvertPropertyToPropertyPb(obj *property.Property) *propertypb.Property
func ConvertRoundPBtoRound ¶
func ConvertServiceGroupPBtoServiceGroup ¶
func ConvertServiceGroupPBtoServiceGroup(requireID bool, sg *service_grouppb.ServiceGroup) (*servicegroup.ServiceGroup, error)
func ConvertServiceGroupToServiceGroupPb ¶
func ConvertServiceGroupToServiceGroupPb(obj *servicegroup.ServiceGroup) *service_grouppb.ServiceGroup
func ConvertTeamPBtoTeam ¶
func ConvertUserPBtoUser ¶
func UserRoleToRolePB ¶
Types ¶
type AuthController ¶
type AuthController struct { authpb.UnimplementedAuthServiceServer // contains filtered or unexported fields }
func NewAuthController ¶
func NewAuthController(svc userservice.Serv, jwtManager *auth.Manager) *AuthController
func (AuthController) Login ¶
func (a AuthController) Login(ctx context.Context, request *authpb.LoginRequest) (*authpb.LoginResponse, error)
type CheckController ¶
type CheckController struct { checkpb.UnimplementedCheckServiceServer // contains filtered or unexported fields }
func NewCheckController ¶
func NewCheckController(svc checkservice.Serv, client *util.Store) *CheckController
func (*CheckController) GetAllByRoundID ¶
func (c *CheckController) GetAllByRoundID(ctx context.Context, request *checkpb.GetAllByRoundIDRequest) (*checkpb.GetAllByRoundIDResponse, error)
func (*CheckController) GetAllByServiceID ¶
func (c *CheckController) GetAllByServiceID(ctx context.Context, request *checkpb.GetAllByServiceIDRequest) (*checkpb.GetAllByServiceIDResponse, error)
func (*CheckController) GetByRoundServiceID ¶
func (c *CheckController) GetByRoundServiceID(ctx context.Context, request *checkpb.GetByRoundServiceIDRequest) (*checkpb.GetByRoundServiceIDResponse, error)
type CompetitionController ¶
type CompetitionController struct { competitionpb.UnimplementedCompetitionServiceServer // contains filtered or unexported fields }
func NewCompetitionController ¶
func NewCompetitionController(svc competitionservice.Serv) *CompetitionController
func (CompetitionController) DeleteCompetition ¶
func (c CompetitionController) DeleteCompetition(ctx context.Context, _ *competitionpb.DeleteCompetitionRequest) (*competitionpb.DeleteCompetitionResponse, error)
func (CompetitionController) FetchCoreCompetition ¶
func (c CompetitionController) FetchCoreCompetition(ctx context.Context, _ *competitionpb.FetchCoreCompetitionRequest) (*competitionpb.FetchCoreCompetitionResponse, error)
func (CompetitionController) FetchEntireCompetition ¶
func (c CompetitionController) FetchEntireCompetition(ctx context.Context, _ *competitionpb.FetchEntireCompetitionRequest) (*competitionpb.FetchEntireCompetitionResponse, error)
func (CompetitionController) LoadCompetition ¶
func (c CompetitionController) LoadCompetition(ctx context.Context, request *competitionpb.LoadCompetitionRequest) (*competitionpb.LoadCompetitionResponse, error)
func (CompetitionController) ResetScores ¶
func (c CompetitionController) ResetScores(ctx context.Context, _ *competitionpb.ResetScoresRequest) (*competitionpb.ResetScoresResponse, error)
type ConfigController ¶
type ConfigController struct { configpb.UnimplementedDynamicConfigServiceServer // contains filtered or unexported fields }
func NewConfigController ¶
func NewConfigController(svc configservice.Serv) *ConfigController
func (ConfigController) Get ¶
func (p ConfigController) Get(ctx context.Context, _ *configpb.GetRequest) (*configpb.GetResponse, error)
func (ConfigController) Update ¶
func (p ConfigController) Update(ctx context.Context, request *configpb.UpdateRequest) (*configpb.UpdateResponse, error)
type HostController ¶
type HostController struct { hostpb.UnimplementedHostServiceServer // contains filtered or unexported fields }
func NewHostController ¶
func NewHostController(svc hostservice.Serv, client *util.Store) *HostController
func (HostController) Delete ¶
func (p HostController) Delete(ctx context.Context, request *hostpb.DeleteRequest) (*hostpb.DeleteResponse, error)
func (HostController) GetAll ¶
func (p HostController) GetAll(ctx context.Context, _ *hostpb.GetAllRequest) (*hostpb.GetAllResponse, error)
func (HostController) GetByID ¶
func (p HostController) GetByID(ctx context.Context, request *hostpb.GetByIDRequest) (*hostpb.GetByIDResponse, error)
func (HostController) Store ¶
func (p HostController) Store(ctx context.Context, request *hostpb.StoreRequest) (*hostpb.StoreResponse, error)
func (HostController) Update ¶
func (p HostController) Update(ctx context.Context, request *hostpb.UpdateRequest) (*hostpb.UpdateResponse, error)
type HostGroupController ¶
type HostGroupController struct { host_grouppb.UnimplementedHostGroupServiceServer // contains filtered or unexported fields }
func NewHostGroupController ¶
func NewHostGroupController(svc hostgroupservice.Serv) *HostGroupController
func (HostGroupController) Delete ¶
func (p HostGroupController) Delete(ctx context.Context, request *host_grouppb.DeleteRequest) (*host_grouppb.DeleteResponse, error)
func (HostGroupController) GetAll ¶
func (p HostGroupController) GetAll(ctx context.Context, request *host_grouppb.GetAllRequest) (*host_grouppb.GetAllResponse, error)
func (HostGroupController) GetByID ¶
func (p HostGroupController) GetByID(ctx context.Context, request *host_grouppb.GetByIDRequest) (*host_grouppb.GetByIDResponse, error)
func (HostGroupController) Store ¶
func (p HostGroupController) Store(ctx context.Context, request *host_grouppb.StoreRequest) (*host_grouppb.StoreResponse, error)
func (HostGroupController) Update ¶
func (p HostGroupController) Update(ctx context.Context, request *host_grouppb.UpdateRequest) (*host_grouppb.UpdateResponse, error)
type PolicyController ¶
type PolicyController struct { policypb.UnimplementedPolicyServiceServer // contains filtered or unexported fields }
func NewPolicyController ¶
func NewPolicyController(svc policyservice.Serv, client *policyclient.Client) *PolicyController
func (PolicyController) Get ¶
func (p PolicyController) Get(_ *policypb.GetRequest, server policypb.PolicyService_GetServer) error
func (PolicyController) Update ¶
func (p PolicyController) Update(ctx context.Context, request *policypb.UpdateRequest) (*policypb.UpdateResponse, error)
type PropertyController ¶
type PropertyController struct { propertypb.UnimplementedPropertyServiceServer // contains filtered or unexported fields }
func NewPropertyController ¶
func NewPropertyController(svc propertyservice.Serv, client *util.Store) *PropertyController
func (PropertyController) Delete ¶
func (p PropertyController) Delete(ctx context.Context, request *propertypb.DeleteRequest) (*propertypb.DeleteResponse, error)
func (PropertyController) GetAll ¶
func (p PropertyController) GetAll(ctx context.Context, _ *propertypb.GetAllRequest) (*propertypb.GetAllResponse, error)
func (PropertyController) GetAllByServiceID ¶
func (p PropertyController) GetAllByServiceID(ctx context.Context, request *propertypb.GetAllByServiceIDRequest) (*propertypb.GetAllByServiceIDResponse, error)
func (PropertyController) GetByServiceIDKey ¶
func (p PropertyController) GetByServiceIDKey(ctx context.Context, request *propertypb.GetByServiceIDKeyRequest) (*propertypb.GetByServiceIDKeyResponse, error)
func (PropertyController) Store ¶
func (p PropertyController) Store(ctx context.Context, request *propertypb.StoreRequest) (*propertypb.StoreResponse, error)
func (PropertyController) Update ¶
func (p PropertyController) Update(ctx context.Context, request *propertypb.UpdateRequest) (*propertypb.UpdateResponse, error)
type ReportController ¶
type ReportController struct { reportpb.UnimplementedReportServiceServer // contains filtered or unexported fields }
func NewReportController ¶
func NewReportController(svc reportservice.Serv, reportClient *reportclient.Client, client *policyclient.Client) *ReportController
func (*ReportController) Get ¶
func (r *ReportController) Get(_ *reportpb.GetRequest, server reportpb.ReportService_GetServer) error
type RoundController ¶
type RoundController struct { roundpb.UnimplementedRoundServiceServer // contains filtered or unexported fields }
func NewRoundController ¶
func NewRoundController(svc roundservice.Serv) *RoundController
func (RoundController) GetAll ¶
func (r RoundController) GetAll(ctx context.Context, _ *roundpb.GetAllRequest) (*roundpb.GetAllResponse, error)
func (RoundController) GetByID ¶
func (r RoundController) GetByID(ctx context.Context, request *roundpb.GetByIDRequest) (*roundpb.GetByIDResponse, error)
func (RoundController) GetLastNonElapsingRound ¶
func (r RoundController) GetLastNonElapsingRound(ctx context.Context, _ *roundpb.GetLastNonElapsingRoundRequest) (*roundpb.GetLastNonElapsingRoundResponse, error)
func (RoundController) GetLastRound ¶
func (r RoundController) GetLastRound(ctx context.Context, _ *roundpb.GetLastRoundRequest) (*roundpb.GetLastRoundResponse, error)
type ServiceController ¶
type ServiceController struct { servicepb.UnimplementedServiceServiceServer // contains filtered or unexported fields }
func NewServiceController ¶
func NewServiceController(svc service2.Serv, client *util.Store) *ServiceController
func (ServiceController) Delete ¶
func (p ServiceController) Delete(ctx context.Context, request *servicepb.DeleteRequest) (*servicepb.DeleteResponse, error)
func (ServiceController) GetAll ¶
func (p ServiceController) GetAll(ctx context.Context, request *servicepb.GetAllRequest) (*servicepb.GetAllResponse, error)
func (ServiceController) GetByID ¶
func (p ServiceController) GetByID(ctx context.Context, request *servicepb.GetByIDRequest) (*servicepb.GetByIDResponse, error)
func (ServiceController) Store ¶
func (p ServiceController) Store(ctx context.Context, request *servicepb.StoreRequest) (*servicepb.StoreResponse, error)
func (ServiceController) TestService ¶
func (p ServiceController) TestService(ctx context.Context, request *servicepb.TestServiceRequest) (*servicepb.TestServiceResponse, error)
func (ServiceController) Update ¶
func (p ServiceController) Update(ctx context.Context, request *servicepb.UpdateRequest) (*servicepb.UpdateResponse, error)
type ServiceGroupController ¶
type ServiceGroupController struct { service_grouppb.UnimplementedServiceGroupServiceServer // contains filtered or unexported fields }
func NewServiceGroupController ¶
func NewServiceGroupController(svc servicegroupservice.Serv) *ServiceGroupController
func (ServiceGroupController) Delete ¶
func (p ServiceGroupController) Delete(ctx context.Context, request *service_grouppb.DeleteRequest) (*service_grouppb.DeleteResponse, error)
func (ServiceGroupController) GetAll ¶
func (p ServiceGroupController) GetAll(ctx context.Context, request *service_grouppb.GetAllRequest) (*service_grouppb.GetAllResponse, error)
func (ServiceGroupController) GetByID ¶
func (p ServiceGroupController) GetByID(ctx context.Context, request *service_grouppb.GetByIDRequest) (*service_grouppb.GetByIDResponse, error)
func (ServiceGroupController) Redeploy ¶
func (p ServiceGroupController) Redeploy(ctx context.Context, request *service_grouppb.RedeployRequest) (*service_grouppb.RedeployResponse, error)
func (ServiceGroupController) Store ¶
func (p ServiceGroupController) Store(ctx context.Context, request *service_grouppb.StoreRequest) (*service_grouppb.StoreResponse, error)
func (ServiceGroupController) Update ¶
func (p ServiceGroupController) Update(ctx context.Context, request *service_grouppb.UpdateRequest) (*service_grouppb.UpdateResponse, error)
type StaticConfigController ¶
type StaticConfigController struct { configpb.UnimplementedStaticConfigServiceServer // contains filtered or unexported fields }
func NewStaticConfigController ¶
func NewStaticConfigController(svc configservice.StaticServ) *StaticConfigController
func (StaticConfigController) Get ¶
func (s StaticConfigController) Get(ctx context.Context, request *configpb.GetStaticConfigRequest) (*configpb.GetStaticConfigResponse, error)
type TeamController ¶
type TeamController struct { teampb.UnimplementedTeamServiceServer // contains filtered or unexported fields }
func NewTeamController ¶
func NewTeamController(svc teamservice.Serv) *TeamController
func (TeamController) Delete ¶
func (p TeamController) Delete(ctx context.Context, request *teampb.DeleteRequest) (*teampb.DeleteResponse, error)
func (TeamController) GetAll ¶
func (p TeamController) GetAll(ctx context.Context, _ *teampb.GetAllRequest) (*teampb.GetAllResponse, error)
func (TeamController) GetByID ¶
func (p TeamController) GetByID(ctx context.Context, request *teampb.GetByIDRequest) (*teampb.GetByIDResponse, error)
func (TeamController) Store ¶
func (p TeamController) Store(ctx context.Context, request *teampb.StoreRequest) (*teampb.StoreResponse, error)
func (TeamController) Update ¶
func (p TeamController) Update(ctx context.Context, request *teampb.UpdateRequest) (*teampb.UpdateResponse, error)
type UserController ¶
type UserController struct { userpb.UnimplementedUserServiceServer // contains filtered or unexported fields }
func NewUserController ¶
func NewUserController(svc userservice.Serv, policyClient *policyclient.Client) *UserController
func (UserController) Delete ¶
func (p UserController) Delete(ctx context.Context, request *userpb.DeleteRequest) (*userpb.DeleteResponse, error)
func (UserController) GetAll ¶
func (p UserController) GetAll(ctx context.Context, _ *userpb.GetAllRequest) (*userpb.GetAllResponse, error)
func (UserController) GetByID ¶
func (p UserController) GetByID(ctx context.Context, request *userpb.GetByIDRequest) (*userpb.GetByIDResponse, error)
func (UserController) GetByUsername ¶
func (p UserController) GetByUsername(ctx context.Context, request *userpb.GetByUsernameRequest) (*userpb.GetByUsernameResponse, error)
func (UserController) Store ¶
func (p UserController) Store(ctx context.Context, request *userpb.StoreRequest) (*userpb.StoreResponse, error)
func (UserController) Update ¶
func (p UserController) Update(ctx context.Context, request *userpb.UpdateRequest) (*userpb.UpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.