Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkGrpcHandler ¶
type LinkGrpcHandler struct { generated.UnimplementedShortLinkServiceServer // contains filtered or unexported fields }
func NewLinkHandler ¶
func NewLinkHandler(usecase LinkUsecase) *LinkGrpcHandler
func (*LinkGrpcHandler) CreateShortLink ¶
func (lgh *LinkGrpcHandler) CreateShortLink(ctx context.Context, request *generated.CreateShortLinkRequest) (*generated.CreateShortLinkResponse, error)
func (*LinkGrpcHandler) GetFullLink ¶
func (lgh *LinkGrpcHandler) GetFullLink(ctx context.Context, request *generated.ShortLinkRequest) (*generated.ShortLinkResponse, error)
Click to show internal directories.
Click to hide internal directories.