Documentation
¶
Index ¶
- type Implementation
- func (i *Implementation) CreateTeam(ctx context.Context, req *desc.TeamCreateRequest) (*desc.TeamCreateResponse, error)
- func (i *Implementation) GetTeamByID(ctx context.Context, req *desc.TeamGetByIDRequest) (*desc.TeamGetByIDResponse, error)
- func (i *Implementation) GetTeams(ctx context.Context, req *desc.TeamGetRequest) (*desc.TeamGetResponse, error)
- func (i *Implementation) UpdateTeam(ctx context.Context, req *desc.TeamUpdateRequest) (*desc.TeamUpdateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Implementation ¶
type Implementation struct { team.UnimplementedTeamRegistryServer // contains filtered or unexported fields }
func NewService ¶
func NewService( storage storage.TeamStorage, validator validate.Validator, authorizer authorization.Authorizer, ) *Implementation
func (*Implementation) CreateTeam ¶
func (i *Implementation) CreateTeam(ctx context.Context, req *desc.TeamCreateRequest) (*desc.TeamCreateResponse, error)
func (*Implementation) GetTeamByID ¶
func (i *Implementation) GetTeamByID(ctx context.Context, req *desc.TeamGetByIDRequest) (*desc.TeamGetByIDResponse, error)
func (*Implementation) GetTeams ¶
func (i *Implementation) GetTeams(ctx context.Context, req *desc.TeamGetRequest) (*desc.TeamGetResponse, error)
func (*Implementation) UpdateTeam ¶
func (i *Implementation) UpdateTeam(ctx context.Context, req *desc.TeamUpdateRequest) (*desc.TeamUpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.