Documentation ¶
Index ¶
- func RegisterGoalServiceServer(s *grpc.Server, srv GoalServiceServer)
- type DeleteGoalRequest
- func (*DeleteGoalRequest) Descriptor() ([]byte, []int)
- func (m *DeleteGoalRequest) GetId() string
- func (*DeleteGoalRequest) ProtoMessage()
- func (m *DeleteGoalRequest) Reset()
- func (m *DeleteGoalRequest) String() string
- func (m *DeleteGoalRequest) XXX_DiscardUnknown()
- func (m *DeleteGoalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteGoalRequest) XXX_Merge(src proto.Message)
- func (m *DeleteGoalRequest) XXX_Size() int
- func (m *DeleteGoalRequest) XXX_Unmarshal(b []byte) error
- type DeleteGoalResponse
- func (*DeleteGoalResponse) Descriptor() ([]byte, []int)
- func (m *DeleteGoalResponse) GetId() string
- func (*DeleteGoalResponse) ProtoMessage()
- func (m *DeleteGoalResponse) Reset()
- func (m *DeleteGoalResponse) String() string
- func (m *DeleteGoalResponse) XXX_DiscardUnknown()
- func (m *DeleteGoalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteGoalResponse) XXX_Merge(src proto.Message)
- func (m *DeleteGoalResponse) XXX_Size() int
- func (m *DeleteGoalResponse) XXX_Unmarshal(b []byte) error
- type GetGoalRequest
- func (*GetGoalRequest) Descriptor() ([]byte, []int)
- func (m *GetGoalRequest) GetId() string
- func (m *GetGoalRequest) GetUserID() uint64
- func (*GetGoalRequest) ProtoMessage()
- func (m *GetGoalRequest) Reset()
- func (m *GetGoalRequest) String() string
- func (m *GetGoalRequest) XXX_DiscardUnknown()
- func (m *GetGoalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGoalRequest) XXX_Merge(src proto.Message)
- func (m *GetGoalRequest) XXX_Size() int
- func (m *GetGoalRequest) XXX_Unmarshal(b []byte) error
- type GetGoalResponse
- func (*GetGoalResponse) Descriptor() ([]byte, []int)
- func (m *GetGoalResponse) GetGoal() *Goal
- func (*GetGoalResponse) ProtoMessage()
- func (m *GetGoalResponse) Reset()
- func (m *GetGoalResponse) String() string
- func (m *GetGoalResponse) XXX_DiscardUnknown()
- func (m *GetGoalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGoalResponse) XXX_Merge(src proto.Message)
- func (m *GetGoalResponse) XXX_Size() int
- func (m *GetGoalResponse) XXX_Unmarshal(b []byte) error
- type GetMultipleGoalsRequest
- func (*GetMultipleGoalsRequest) Descriptor() ([]byte, []int)
- func (m *GetMultipleGoalsRequest) GetSkip() uint64
- func (m *GetMultipleGoalsRequest) GetTake() uint64
- func (*GetMultipleGoalsRequest) ProtoMessage()
- func (m *GetMultipleGoalsRequest) Reset()
- func (m *GetMultipleGoalsRequest) String() string
- func (m *GetMultipleGoalsRequest) XXX_DiscardUnknown()
- func (m *GetMultipleGoalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleGoalsRequest) XXX_Merge(src proto.Message)
- func (m *GetMultipleGoalsRequest) XXX_Size() int
- func (m *GetMultipleGoalsRequest) XXX_Unmarshal(b []byte) error
- type GetMultipleGoalsResponse
- func (*GetMultipleGoalsResponse) Descriptor() ([]byte, []int)
- func (m *GetMultipleGoalsResponse) GetGoals() []*Goal
- func (*GetMultipleGoalsResponse) ProtoMessage()
- func (m *GetMultipleGoalsResponse) Reset()
- func (m *GetMultipleGoalsResponse) String() string
- func (m *GetMultipleGoalsResponse) XXX_DiscardUnknown()
- func (m *GetMultipleGoalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleGoalsResponse) XXX_Merge(src proto.Message)
- func (m *GetMultipleGoalsResponse) XXX_Size() int
- func (m *GetMultipleGoalsResponse) XXX_Unmarshal(b []byte) error
- type Goal
- func (*Goal) Descriptor() ([]byte, []int)
- func (m *Goal) GetAim() string
- func (m *Goal) GetCreator() string
- func (m *Goal) GetDate() *timestamp.Timestamp
- func (m *Goal) GetDetails() string
- func (m *Goal) GetGoalJourney() *Journey
- func (m *Goal) GetId() string
- func (m *Goal) GetInspiration() string
- func (m *Goal) GetIsAchieved() bool
- func (m *Goal) GetIsPrivate() bool
- func (m *Goal) GetLikes() []string
- func (m *Goal) GetParticipants() []string
- func (m *Goal) GetReason() string
- func (m *Goal) GetSimilarGoals() []string
- func (m *Goal) GetTags() []string
- func (m *Goal) GetType() string
- func (m *Goal) GetWatchers() []string
- func (*Goal) ProtoMessage()
- func (m *Goal) Reset()
- func (m *Goal) String() string
- func (m *Goal) XXX_DiscardUnknown()
- func (m *Goal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Goal) XXX_Merge(src proto.Message)
- func (m *Goal) XXX_Size() int
- func (m *Goal) XXX_Unmarshal(b []byte) error
- type GoalServiceClient
- type GoalServiceServer
- type Journey
- func (*Journey) Descriptor() ([]byte, []int)
- func (m *Journey) GetDetails() string
- func (m *Journey) GetDueDate() *timestamp.Timestamp
- func (m *Journey) GetIsComplete() bool
- func (m *Journey) GetIsInProgress() bool
- func (m *Journey) GetIsStarted() bool
- func (m *Journey) GetProgress() int32
- func (m *Journey) GetStartDate() *timestamp.Timestamp
- func (m *Journey) GetSteps() []string
- func (m *Journey) GetTyp() string
- func (*Journey) ProtoMessage()
- func (m *Journey) Reset()
- func (m *Journey) String() string
- func (m *Journey) XXX_DiscardUnknown()
- func (m *Journey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Journey) XXX_Merge(src proto.Message)
- func (m *Journey) XXX_Size() int
- func (m *Journey) XXX_Unmarshal(b []byte) error
- type PostGoalRequest
- func (*PostGoalRequest) Descriptor() ([]byte, []int)
- func (m *PostGoalRequest) GetAim() string
- func (m *PostGoalRequest) GetCreator() string
- func (m *PostGoalRequest) GetDetails() string
- func (m *PostGoalRequest) GetInspiration() string
- func (m *PostGoalRequest) GetIsAchieved() bool
- func (m *PostGoalRequest) GetIsPrivate() bool
- func (m *PostGoalRequest) GetJourney() *Journey
- func (m *PostGoalRequest) GetLikes() []string
- func (m *PostGoalRequest) GetParticipants() []string
- func (m *PostGoalRequest) GetReason() string
- func (m *PostGoalRequest) GetSimilarGoals() []string
- func (m *PostGoalRequest) GetTags() []string
- func (m *PostGoalRequest) GetTime() *timestamp.Timestamp
- func (m *PostGoalRequest) GetType() string
- func (m *PostGoalRequest) GetWatchers() []string
- func (*PostGoalRequest) ProtoMessage()
- func (m *PostGoalRequest) Reset()
- func (m *PostGoalRequest) String() string
- func (m *PostGoalRequest) XXX_DiscardUnknown()
- func (m *PostGoalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostGoalRequest) XXX_Merge(src proto.Message)
- func (m *PostGoalRequest) XXX_Size() int
- func (m *PostGoalRequest) XXX_Unmarshal(b []byte) error
- type PostGoalResponse
- func (*PostGoalResponse) Descriptor() ([]byte, []int)
- func (m *PostGoalResponse) GetGoal() string
- func (*PostGoalResponse) ProtoMessage()
- func (m *PostGoalResponse) Reset()
- func (m *PostGoalResponse) String() string
- func (m *PostGoalResponse) XXX_DiscardUnknown()
- func (m *PostGoalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostGoalResponse) XXX_Merge(src proto.Message)
- func (m *PostGoalResponse) XXX_Size() int
- func (m *PostGoalResponse) XXX_Unmarshal(b []byte) error
- type PutGoalRequest
- func (*PutGoalRequest) Descriptor() ([]byte, []int)
- func (m *PutGoalRequest) GetAim() string
- func (m *PutGoalRequest) GetCreator() string
- func (m *PutGoalRequest) GetDetails() string
- func (m *PutGoalRequest) GetId() string
- func (m *PutGoalRequest) GetInspiration() string
- func (m *PutGoalRequest) GetIsAchieved() bool
- func (m *PutGoalRequest) GetIsPrivate() bool
- func (m *PutGoalRequest) GetJourney() *Journey
- func (m *PutGoalRequest) GetLikes() []string
- func (m *PutGoalRequest) GetParticipants() []string
- func (m *PutGoalRequest) GetReason() string
- func (m *PutGoalRequest) GetSimilarGoals() []string
- func (m *PutGoalRequest) GetTags() []string
- func (m *PutGoalRequest) GetTime() *timestamp.Timestamp
- func (m *PutGoalRequest) GetType() string
- func (m *PutGoalRequest) GetWatchers() []string
- func (*PutGoalRequest) ProtoMessage()
- func (m *PutGoalRequest) Reset()
- func (m *PutGoalRequest) String() string
- func (m *PutGoalRequest) XXX_DiscardUnknown()
- func (m *PutGoalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutGoalRequest) XXX_Merge(src proto.Message)
- func (m *PutGoalRequest) XXX_Size() int
- func (m *PutGoalRequest) XXX_Unmarshal(b []byte) error
- type PutGoalResponse
- func (*PutGoalResponse) Descriptor() ([]byte, []int)
- func (m *PutGoalResponse) GetGoal() string
- func (*PutGoalResponse) ProtoMessage()
- func (m *PutGoalResponse) Reset()
- func (m *PutGoalResponse) String() string
- func (m *PutGoalResponse) XXX_DiscardUnknown()
- func (m *PutGoalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutGoalResponse) XXX_Merge(src proto.Message)
- func (m *PutGoalResponse) XXX_Size() int
- func (m *PutGoalResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedGoalServiceServer
- func (*UnimplementedGoalServiceServer) DeleteGoal(ctx context.Context, req *DeleteGoalRequest) (*DeleteGoalResponse, error)
- func (*UnimplementedGoalServiceServer) GetGoal(ctx context.Context, req *GetGoalRequest) (*GetGoalResponse, error)
- func (*UnimplementedGoalServiceServer) GetMultipleGoals(ctx context.Context, req *GetMultipleGoalsRequest) (*GetMultipleGoalsResponse, error)
- func (*UnimplementedGoalServiceServer) PostGoal(ctx context.Context, req *PostGoalRequest) (*PostGoalResponse, error)
- func (*UnimplementedGoalServiceServer) PutGoal(ctx context.Context, req *PutGoalRequest) (*PutGoalResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGoalServiceServer ¶
func RegisterGoalServiceServer(s *grpc.Server, srv GoalServiceServer)
Types ¶
type DeleteGoalRequest ¶
type DeleteGoalRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteGoalRequest) Descriptor ¶
func (*DeleteGoalRequest) Descriptor() ([]byte, []int)
func (*DeleteGoalRequest) GetId ¶
func (m *DeleteGoalRequest) GetId() string
func (*DeleteGoalRequest) ProtoMessage ¶
func (*DeleteGoalRequest) ProtoMessage()
func (*DeleteGoalRequest) Reset ¶
func (m *DeleteGoalRequest) Reset()
func (*DeleteGoalRequest) String ¶
func (m *DeleteGoalRequest) String() string
func (*DeleteGoalRequest) XXX_DiscardUnknown ¶
func (m *DeleteGoalRequest) XXX_DiscardUnknown()
func (*DeleteGoalRequest) XXX_Marshal ¶
func (m *DeleteGoalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteGoalRequest) XXX_Merge ¶
func (m *DeleteGoalRequest) XXX_Merge(src proto.Message)
func (*DeleteGoalRequest) XXX_Size ¶
func (m *DeleteGoalRequest) XXX_Size() int
func (*DeleteGoalRequest) XXX_Unmarshal ¶
func (m *DeleteGoalRequest) XXX_Unmarshal(b []byte) error
type DeleteGoalResponse ¶
type DeleteGoalResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteGoalResponse) Descriptor ¶
func (*DeleteGoalResponse) Descriptor() ([]byte, []int)
func (*DeleteGoalResponse) GetId ¶
func (m *DeleteGoalResponse) GetId() string
func (*DeleteGoalResponse) ProtoMessage ¶
func (*DeleteGoalResponse) ProtoMessage()
func (*DeleteGoalResponse) Reset ¶
func (m *DeleteGoalResponse) Reset()
func (*DeleteGoalResponse) String ¶
func (m *DeleteGoalResponse) String() string
func (*DeleteGoalResponse) XXX_DiscardUnknown ¶
func (m *DeleteGoalResponse) XXX_DiscardUnknown()
func (*DeleteGoalResponse) XXX_Marshal ¶
func (m *DeleteGoalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteGoalResponse) XXX_Merge ¶
func (m *DeleteGoalResponse) XXX_Merge(src proto.Message)
func (*DeleteGoalResponse) XXX_Size ¶
func (m *DeleteGoalResponse) XXX_Size() int
func (*DeleteGoalResponse) XXX_Unmarshal ¶
func (m *DeleteGoalResponse) XXX_Unmarshal(b []byte) error
type GetGoalRequest ¶
type GetGoalRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserID uint64 `protobuf:"varint,2,opt,name=userID,proto3" json:"userID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGoalRequest) Descriptor ¶
func (*GetGoalRequest) Descriptor() ([]byte, []int)
func (*GetGoalRequest) GetId ¶
func (m *GetGoalRequest) GetId() string
func (*GetGoalRequest) GetUserID ¶
func (m *GetGoalRequest) GetUserID() uint64
func (*GetGoalRequest) ProtoMessage ¶
func (*GetGoalRequest) ProtoMessage()
func (*GetGoalRequest) Reset ¶
func (m *GetGoalRequest) Reset()
func (*GetGoalRequest) String ¶
func (m *GetGoalRequest) String() string
func (*GetGoalRequest) XXX_DiscardUnknown ¶
func (m *GetGoalRequest) XXX_DiscardUnknown()
func (*GetGoalRequest) XXX_Marshal ¶
func (m *GetGoalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGoalRequest) XXX_Merge ¶
func (m *GetGoalRequest) XXX_Merge(src proto.Message)
func (*GetGoalRequest) XXX_Size ¶
func (m *GetGoalRequest) XXX_Size() int
func (*GetGoalRequest) XXX_Unmarshal ¶
func (m *GetGoalRequest) XXX_Unmarshal(b []byte) error
type GetGoalResponse ¶
type GetGoalResponse struct { Goal *Goal `protobuf:"bytes,1,opt,name=goal,proto3" json:"goal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGoalResponse) Descriptor ¶
func (*GetGoalResponse) Descriptor() ([]byte, []int)
func (*GetGoalResponse) GetGoal ¶
func (m *GetGoalResponse) GetGoal() *Goal
func (*GetGoalResponse) ProtoMessage ¶
func (*GetGoalResponse) ProtoMessage()
func (*GetGoalResponse) Reset ¶
func (m *GetGoalResponse) Reset()
func (*GetGoalResponse) String ¶
func (m *GetGoalResponse) String() string
func (*GetGoalResponse) XXX_DiscardUnknown ¶
func (m *GetGoalResponse) XXX_DiscardUnknown()
func (*GetGoalResponse) XXX_Marshal ¶
func (m *GetGoalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGoalResponse) XXX_Merge ¶
func (m *GetGoalResponse) XXX_Merge(src proto.Message)
func (*GetGoalResponse) XXX_Size ¶
func (m *GetGoalResponse) XXX_Size() int
func (*GetGoalResponse) XXX_Unmarshal ¶
func (m *GetGoalResponse) XXX_Unmarshal(b []byte) error
type GetMultipleGoalsRequest ¶
type GetMultipleGoalsRequest struct { Skip uint64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Take uint64 `protobuf:"varint,2,opt,name=take,proto3" json:"take,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMultipleGoalsRequest) Descriptor ¶
func (*GetMultipleGoalsRequest) Descriptor() ([]byte, []int)
func (*GetMultipleGoalsRequest) GetSkip ¶
func (m *GetMultipleGoalsRequest) GetSkip() uint64
func (*GetMultipleGoalsRequest) GetTake ¶
func (m *GetMultipleGoalsRequest) GetTake() uint64
func (*GetMultipleGoalsRequest) ProtoMessage ¶
func (*GetMultipleGoalsRequest) ProtoMessage()
func (*GetMultipleGoalsRequest) Reset ¶
func (m *GetMultipleGoalsRequest) Reset()
func (*GetMultipleGoalsRequest) String ¶
func (m *GetMultipleGoalsRequest) String() string
func (*GetMultipleGoalsRequest) XXX_DiscardUnknown ¶
func (m *GetMultipleGoalsRequest) XXX_DiscardUnknown()
func (*GetMultipleGoalsRequest) XXX_Marshal ¶
func (m *GetMultipleGoalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleGoalsRequest) XXX_Merge ¶
func (m *GetMultipleGoalsRequest) XXX_Merge(src proto.Message)
func (*GetMultipleGoalsRequest) XXX_Size ¶
func (m *GetMultipleGoalsRequest) XXX_Size() int
func (*GetMultipleGoalsRequest) XXX_Unmarshal ¶
func (m *GetMultipleGoalsRequest) XXX_Unmarshal(b []byte) error
type GetMultipleGoalsResponse ¶
type GetMultipleGoalsResponse struct { Goals []*Goal `protobuf:"bytes,1,rep,name=goals,proto3" json:"goals,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMultipleGoalsResponse) Descriptor ¶
func (*GetMultipleGoalsResponse) Descriptor() ([]byte, []int)
func (*GetMultipleGoalsResponse) GetGoals ¶
func (m *GetMultipleGoalsResponse) GetGoals() []*Goal
func (*GetMultipleGoalsResponse) ProtoMessage ¶
func (*GetMultipleGoalsResponse) ProtoMessage()
func (*GetMultipleGoalsResponse) Reset ¶
func (m *GetMultipleGoalsResponse) Reset()
func (*GetMultipleGoalsResponse) String ¶
func (m *GetMultipleGoalsResponse) String() string
func (*GetMultipleGoalsResponse) XXX_DiscardUnknown ¶
func (m *GetMultipleGoalsResponse) XXX_DiscardUnknown()
func (*GetMultipleGoalsResponse) XXX_Marshal ¶
func (m *GetMultipleGoalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleGoalsResponse) XXX_Merge ¶
func (m *GetMultipleGoalsResponse) XXX_Merge(src proto.Message)
func (*GetMultipleGoalsResponse) XXX_Size ¶
func (m *GetMultipleGoalsResponse) XXX_Size() int
func (*GetMultipleGoalsResponse) XXX_Unmarshal ¶
func (m *GetMultipleGoalsResponse) XXX_Unmarshal(b []byte) error
type Goal ¶
type Goal struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Participants []string `protobuf:"bytes,3,rep,name=participants,proto3" json:"participants,omitempty"` Likes []string `protobuf:"bytes,4,rep,name=likes,proto3" json:"likes,omitempty"` Watchers []string `protobuf:"bytes,5,rep,name=watchers,proto3" json:"watchers,omitempty"` Aim string `protobuf:"bytes,6,opt,name=aim,proto3" json:"aim,omitempty"` Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"` Details string `protobuf:"bytes,8,opt,name=details,proto3" json:"details,omitempty"` Inspiration string `protobuf:"bytes,9,opt,name=inspiration,proto3" json:"inspiration,omitempty"` Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` SimilarGoals []string `protobuf:"bytes,12,rep,name=similarGoals,proto3" json:"similarGoals,omitempty"` IsAchieved bool `protobuf:"varint,13,opt,name=isAchieved,proto3" json:"isAchieved,omitempty"` IsPrivate bool `protobuf:"varint,14,opt,name=isPrivate,proto3" json:"isPrivate,omitempty"` Date *timestamp.Timestamp `protobuf:"bytes,15,opt,name=date,proto3" json:"date,omitempty"` GoalJourney *Journey `protobuf:"bytes,16,opt,name=goalJourney,proto3" json:"goalJourney,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Goal) Descriptor ¶
func (*Goal) GetCreator ¶
func (*Goal) GetDetails ¶
func (*Goal) GetGoalJourney ¶
func (*Goal) GetInspiration ¶
func (*Goal) GetIsAchieved ¶
func (*Goal) GetIsPrivate ¶
func (*Goal) GetParticipants ¶
func (*Goal) GetSimilarGoals ¶
func (*Goal) GetWatchers ¶
func (*Goal) ProtoMessage ¶
func (*Goal) ProtoMessage()
func (*Goal) XXX_DiscardUnknown ¶
func (m *Goal) XXX_DiscardUnknown()
func (*Goal) XXX_Unmarshal ¶
type GoalServiceClient ¶
type GoalServiceClient interface { PostGoal(ctx context.Context, in *PostGoalRequest, opts ...grpc.CallOption) (*PostGoalResponse, error) GetGoal(ctx context.Context, in *GetGoalRequest, opts ...grpc.CallOption) (*GetGoalResponse, error) GetMultipleGoals(ctx context.Context, in *GetMultipleGoalsRequest, opts ...grpc.CallOption) (*GetMultipleGoalsResponse, error) PutGoal(ctx context.Context, in *PutGoalRequest, opts ...grpc.CallOption) (*PutGoalResponse, error) DeleteGoal(ctx context.Context, in *DeleteGoalRequest, opts ...grpc.CallOption) (*DeleteGoalResponse, error) }
GoalServiceClient is the client API for GoalService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGoalServiceClient ¶
func NewGoalServiceClient(cc *grpc.ClientConn) GoalServiceClient
type GoalServiceServer ¶
type GoalServiceServer interface { PostGoal(context.Context, *PostGoalRequest) (*PostGoalResponse, error) GetGoal(context.Context, *GetGoalRequest) (*GetGoalResponse, error) GetMultipleGoals(context.Context, *GetMultipleGoalsRequest) (*GetMultipleGoalsResponse, error) PutGoal(context.Context, *PutGoalRequest) (*PutGoalResponse, error) DeleteGoal(context.Context, *DeleteGoalRequest) (*DeleteGoalResponse, error) }
GoalServiceServer is the server API for GoalService service.
type Journey ¶
type Journey struct { IsComplete bool `protobuf:"varint,1,opt,name=isComplete,proto3" json:"isComplete,omitempty"` IsInProgress bool `protobuf:"varint,2,opt,name=IsInProgress,proto3" json:"IsInProgress,omitempty"` IsStarted bool `protobuf:"varint,3,opt,name=IsStarted,proto3" json:"IsStarted,omitempty"` Details string `protobuf:"bytes,4,opt,name=Details,proto3" json:"Details,omitempty"` Typ string `protobuf:"bytes,5,opt,name=typ,proto3" json:"typ,omitempty"` Steps []string `protobuf:"bytes,6,rep,name=steps,proto3" json:"steps,omitempty"` Progress int32 `protobuf:"varint,7,opt,name=progress,proto3" json:"progress,omitempty"` StartDate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=startDate,proto3" json:"startDate,omitempty"` DueDate *timestamp.Timestamp `protobuf:"bytes,9,opt,name=dueDate,proto3" json:"dueDate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Journey) Descriptor ¶
func (*Journey) GetDetails ¶
func (*Journey) GetDueDate ¶
func (*Journey) GetIsComplete ¶
func (*Journey) GetIsInProgress ¶
func (*Journey) GetIsStarted ¶
func (*Journey) GetProgress ¶
func (*Journey) GetStartDate ¶
func (*Journey) ProtoMessage ¶
func (*Journey) ProtoMessage()
func (*Journey) XXX_DiscardUnknown ¶
func (m *Journey) XXX_DiscardUnknown()
func (*Journey) XXX_Marshal ¶
func (*Journey) XXX_Unmarshal ¶
type PostGoalRequest ¶
type PostGoalRequest struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Participants []string `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"` Likes []string `protobuf:"bytes,3,rep,name=likes,proto3" json:"likes,omitempty"` Watchers []string `protobuf:"bytes,4,rep,name=watchers,proto3" json:"watchers,omitempty"` Aim string `protobuf:"bytes,5,opt,name=aim,proto3" json:"aim,omitempty"` Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` Details string `protobuf:"bytes,7,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` Inspiration string `protobuf:"bytes,9,opt,name=inspiration,proto3" json:"inspiration,omitempty"` Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"` SimilarGoals []string `protobuf:"bytes,11,rep,name=similarGoals,proto3" json:"similarGoals,omitempty"` IsAchieved bool `protobuf:"varint,12,opt,name=isAchieved,proto3" json:"isAchieved,omitempty"` IsPrivate bool `protobuf:"varint,13,opt,name=isPrivate,proto3" json:"isPrivate,omitempty"` Journey *Journey `protobuf:"bytes,14,opt,name=journey,proto3" json:"journey,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,15,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostGoalRequest) Descriptor ¶
func (*PostGoalRequest) Descriptor() ([]byte, []int)
func (*PostGoalRequest) GetAim ¶
func (m *PostGoalRequest) GetAim() string
func (*PostGoalRequest) GetCreator ¶
func (m *PostGoalRequest) GetCreator() string
func (*PostGoalRequest) GetDetails ¶
func (m *PostGoalRequest) GetDetails() string
func (*PostGoalRequest) GetInspiration ¶
func (m *PostGoalRequest) GetInspiration() string
func (*PostGoalRequest) GetIsAchieved ¶
func (m *PostGoalRequest) GetIsAchieved() bool
func (*PostGoalRequest) GetIsPrivate ¶
func (m *PostGoalRequest) GetIsPrivate() bool
func (*PostGoalRequest) GetJourney ¶
func (m *PostGoalRequest) GetJourney() *Journey
func (*PostGoalRequest) GetLikes ¶
func (m *PostGoalRequest) GetLikes() []string
func (*PostGoalRequest) GetParticipants ¶
func (m *PostGoalRequest) GetParticipants() []string
func (*PostGoalRequest) GetReason ¶
func (m *PostGoalRequest) GetReason() string
func (*PostGoalRequest) GetSimilarGoals ¶
func (m *PostGoalRequest) GetSimilarGoals() []string
func (*PostGoalRequest) GetTags ¶
func (m *PostGoalRequest) GetTags() []string
func (*PostGoalRequest) GetTime ¶
func (m *PostGoalRequest) GetTime() *timestamp.Timestamp
func (*PostGoalRequest) GetType ¶
func (m *PostGoalRequest) GetType() string
func (*PostGoalRequest) GetWatchers ¶
func (m *PostGoalRequest) GetWatchers() []string
func (*PostGoalRequest) ProtoMessage ¶
func (*PostGoalRequest) ProtoMessage()
func (*PostGoalRequest) Reset ¶
func (m *PostGoalRequest) Reset()
func (*PostGoalRequest) String ¶
func (m *PostGoalRequest) String() string
func (*PostGoalRequest) XXX_DiscardUnknown ¶
func (m *PostGoalRequest) XXX_DiscardUnknown()
func (*PostGoalRequest) XXX_Marshal ¶
func (m *PostGoalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostGoalRequest) XXX_Merge ¶
func (m *PostGoalRequest) XXX_Merge(src proto.Message)
func (*PostGoalRequest) XXX_Size ¶
func (m *PostGoalRequest) XXX_Size() int
func (*PostGoalRequest) XXX_Unmarshal ¶
func (m *PostGoalRequest) XXX_Unmarshal(b []byte) error
type PostGoalResponse ¶
type PostGoalResponse struct { Goal string `protobuf:"bytes,1,opt,name=goal,proto3" json:"goal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostGoalResponse) Descriptor ¶
func (*PostGoalResponse) Descriptor() ([]byte, []int)
func (*PostGoalResponse) GetGoal ¶
func (m *PostGoalResponse) GetGoal() string
func (*PostGoalResponse) ProtoMessage ¶
func (*PostGoalResponse) ProtoMessage()
func (*PostGoalResponse) Reset ¶
func (m *PostGoalResponse) Reset()
func (*PostGoalResponse) String ¶
func (m *PostGoalResponse) String() string
func (*PostGoalResponse) XXX_DiscardUnknown ¶
func (m *PostGoalResponse) XXX_DiscardUnknown()
func (*PostGoalResponse) XXX_Marshal ¶
func (m *PostGoalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostGoalResponse) XXX_Merge ¶
func (m *PostGoalResponse) XXX_Merge(src proto.Message)
func (*PostGoalResponse) XXX_Size ¶
func (m *PostGoalResponse) XXX_Size() int
func (*PostGoalResponse) XXX_Unmarshal ¶
func (m *PostGoalResponse) XXX_Unmarshal(b []byte) error
type PutGoalRequest ¶
type PutGoalRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Participants []string `protobuf:"bytes,3,rep,name=participants,proto3" json:"participants,omitempty"` Likes []string `protobuf:"bytes,4,rep,name=likes,proto3" json:"likes,omitempty"` Watchers []string `protobuf:"bytes,5,rep,name=watchers,proto3" json:"watchers,omitempty"` Aim string `protobuf:"bytes,6,opt,name=aim,proto3" json:"aim,omitempty"` Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"` Details string `protobuf:"bytes,8,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"` Inspiration string `protobuf:"bytes,10,opt,name=inspiration,proto3" json:"inspiration,omitempty"` Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` SimilarGoals []string `protobuf:"bytes,12,rep,name=similarGoals,proto3" json:"similarGoals,omitempty"` IsAchieved bool `protobuf:"varint,13,opt,name=isAchieved,proto3" json:"isAchieved,omitempty"` IsPrivate bool `protobuf:"varint,14,opt,name=isPrivate,proto3" json:"isPrivate,omitempty"` Journey *Journey `protobuf:"bytes,15,opt,name=journey,proto3" json:"journey,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,16,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutGoalRequest) Descriptor ¶
func (*PutGoalRequest) Descriptor() ([]byte, []int)
func (*PutGoalRequest) GetAim ¶
func (m *PutGoalRequest) GetAim() string
func (*PutGoalRequest) GetCreator ¶
func (m *PutGoalRequest) GetCreator() string
func (*PutGoalRequest) GetDetails ¶
func (m *PutGoalRequest) GetDetails() string
func (*PutGoalRequest) GetId ¶
func (m *PutGoalRequest) GetId() string
func (*PutGoalRequest) GetInspiration ¶
func (m *PutGoalRequest) GetInspiration() string
func (*PutGoalRequest) GetIsAchieved ¶
func (m *PutGoalRequest) GetIsAchieved() bool
func (*PutGoalRequest) GetIsPrivate ¶
func (m *PutGoalRequest) GetIsPrivate() bool
func (*PutGoalRequest) GetJourney ¶
func (m *PutGoalRequest) GetJourney() *Journey
func (*PutGoalRequest) GetLikes ¶
func (m *PutGoalRequest) GetLikes() []string
func (*PutGoalRequest) GetParticipants ¶
func (m *PutGoalRequest) GetParticipants() []string
func (*PutGoalRequest) GetReason ¶
func (m *PutGoalRequest) GetReason() string
func (*PutGoalRequest) GetSimilarGoals ¶
func (m *PutGoalRequest) GetSimilarGoals() []string
func (*PutGoalRequest) GetTags ¶
func (m *PutGoalRequest) GetTags() []string
func (*PutGoalRequest) GetTime ¶
func (m *PutGoalRequest) GetTime() *timestamp.Timestamp
func (*PutGoalRequest) GetType ¶
func (m *PutGoalRequest) GetType() string
func (*PutGoalRequest) GetWatchers ¶
func (m *PutGoalRequest) GetWatchers() []string
func (*PutGoalRequest) ProtoMessage ¶
func (*PutGoalRequest) ProtoMessage()
func (*PutGoalRequest) Reset ¶
func (m *PutGoalRequest) Reset()
func (*PutGoalRequest) String ¶
func (m *PutGoalRequest) String() string
func (*PutGoalRequest) XXX_DiscardUnknown ¶
func (m *PutGoalRequest) XXX_DiscardUnknown()
func (*PutGoalRequest) XXX_Marshal ¶
func (m *PutGoalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutGoalRequest) XXX_Merge ¶
func (m *PutGoalRequest) XXX_Merge(src proto.Message)
func (*PutGoalRequest) XXX_Size ¶
func (m *PutGoalRequest) XXX_Size() int
func (*PutGoalRequest) XXX_Unmarshal ¶
func (m *PutGoalRequest) XXX_Unmarshal(b []byte) error
type PutGoalResponse ¶
type PutGoalResponse struct { Goal string `protobuf:"bytes,1,opt,name=goal,proto3" json:"goal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutGoalResponse) Descriptor ¶
func (*PutGoalResponse) Descriptor() ([]byte, []int)
func (*PutGoalResponse) GetGoal ¶
func (m *PutGoalResponse) GetGoal() string
func (*PutGoalResponse) ProtoMessage ¶
func (*PutGoalResponse) ProtoMessage()
func (*PutGoalResponse) Reset ¶
func (m *PutGoalResponse) Reset()
func (*PutGoalResponse) String ¶
func (m *PutGoalResponse) String() string
func (*PutGoalResponse) XXX_DiscardUnknown ¶
func (m *PutGoalResponse) XXX_DiscardUnknown()
func (*PutGoalResponse) XXX_Marshal ¶
func (m *PutGoalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutGoalResponse) XXX_Merge ¶
func (m *PutGoalResponse) XXX_Merge(src proto.Message)
func (*PutGoalResponse) XXX_Size ¶
func (m *PutGoalResponse) XXX_Size() int
func (*PutGoalResponse) XXX_Unmarshal ¶
func (m *PutGoalResponse) XXX_Unmarshal(b []byte) error
type UnimplementedGoalServiceServer ¶
type UnimplementedGoalServiceServer struct { }
UnimplementedGoalServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedGoalServiceServer) DeleteGoal ¶
func (*UnimplementedGoalServiceServer) DeleteGoal(ctx context.Context, req *DeleteGoalRequest) (*DeleteGoalResponse, error)
func (*UnimplementedGoalServiceServer) GetGoal ¶
func (*UnimplementedGoalServiceServer) GetGoal(ctx context.Context, req *GetGoalRequest) (*GetGoalResponse, error)
func (*UnimplementedGoalServiceServer) GetMultipleGoals ¶
func (*UnimplementedGoalServiceServer) GetMultipleGoals(ctx context.Context, req *GetMultipleGoalsRequest) (*GetMultipleGoalsResponse, error)
func (*UnimplementedGoalServiceServer) PostGoal ¶
func (*UnimplementedGoalServiceServer) PostGoal(ctx context.Context, req *PostGoalRequest) (*PostGoalResponse, error)
func (*UnimplementedGoalServiceServer) PutGoal ¶
func (*UnimplementedGoalServiceServer) PutGoal(ctx context.Context, req *PutGoalRequest) (*PutGoalResponse, error)
Click to show internal directories.
Click to hide internal directories.