Versions in this module Expand all Collapse all v0 v0.1.0 Feb 18, 2024 Changes in this version + const AlreadyReferred + const ReferrerDoesNotExist + const SelfReferralError + type Handler struct + func NewHandler(config util.Config, store db.Store) Handler + func (h *Handler) GetReferrer(ctx context.Context, req *pb.GetReferrerRequest) (*pb.GetReferrerResponse, error) + func (h *Handler) ListReferrals(ctx context.Context, req *pb.ListReferralsRequest) (*pb.ListReferralsResponse, error)