Documentation ¶
Index ¶
- Variables
- func CreateInitServerFn(ps *Org) rpc.InitServer
- type Org
- func (o *Org) CreateKeyResult(ctx context.Context, payload *pb.KeyResultRequest) (*pb.StateReply, error)
- func (o *Org) CreateObjective(ctx context.Context, payload *pb.ObjectiveRequest) (*pb.StateReply, error)
- func (o *Org) DeleteKeyResult(ctx context.Context, payload *pb.KeyResultRequest) (*pb.StateReply, error)
- func (o *Org) DeleteObjective(ctx context.Context, payload *pb.ObjectiveRequest) (*pb.StateReply, error)
- func (o *Org) GetKeyResult(ctx context.Context, payload *pb.KeyResultRequest) (*pb.KeyResultReply, error)
- func (o *Org) GetKeyResults(ctx context.Context, _ *pb.KeyResultRequest) (*pb.KeyResultsReply, error)
- func (o *Org) GetObjective(ctx context.Context, payload *pb.ObjectiveRequest) (*pb.ObjectiveReply, error)
- func (o *Org) GetObjectives(ctx context.Context, _ *pb.ObjectiveRequest) (*pb.ObjectivesReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewOrg, CreateInitServerFn)
Functions ¶
func CreateInitServerFn ¶
func CreateInitServerFn(ps *Org) rpc.InitServer
Types ¶
type Org ¶
type Org struct {
// contains filtered or unexported fields
}
func NewOrg ¶
func NewOrg(repo repositoryOrg.OrgRepository, middle pb.MiddleSvcClient) *Org
func (*Org) CreateKeyResult ¶
func (o *Org) CreateKeyResult(ctx context.Context, payload *pb.KeyResultRequest) (*pb.StateReply, error)
func (*Org) CreateObjective ¶
func (o *Org) CreateObjective(ctx context.Context, payload *pb.ObjectiveRequest) (*pb.StateReply, error)
func (*Org) DeleteKeyResult ¶
func (o *Org) DeleteKeyResult(ctx context.Context, payload *pb.KeyResultRequest) (*pb.StateReply, error)
func (*Org) DeleteObjective ¶
func (o *Org) DeleteObjective(ctx context.Context, payload *pb.ObjectiveRequest) (*pb.StateReply, error)
func (*Org) GetKeyResult ¶
func (o *Org) GetKeyResult(ctx context.Context, payload *pb.KeyResultRequest) (*pb.KeyResultReply, error)
func (*Org) GetKeyResults ¶
func (o *Org) GetKeyResults(ctx context.Context, _ *pb.KeyResultRequest) (*pb.KeyResultsReply, error)
func (*Org) GetObjective ¶
func (o *Org) GetObjective(ctx context.Context, payload *pb.ObjectiveRequest) (*pb.ObjectiveReply, error)
func (*Org) GetObjectives ¶
func (o *Org) GetObjectives(ctx context.Context, _ *pb.ObjectiveRequest) (*pb.ObjectivesReply, error)
Click to show internal directories.
Click to hide internal directories.