Versions in this module Expand all Collapse all v0 v0.0.1 Apr 3, 2021 Changes in this version + func NewBackend(linkService link_service.LinkService) pbLink.LinkServiceServer + type Backend struct + func (b *Backend) GetLink(ctx context.Context, in *pbLink.GetLinkReq) (*pbLink.GetLinkRes, error) + func (b *Backend) ShortenLink(ctx context.Context, in *pbLink.ShortenLinkReq) (*pbLink.ShortenLinkRes, error) + func (b *Backend) VisitByKey(ctx context.Context, in *pbLink.VisitByKeyReq) (*pbLink.VisitByKeyRes, error)