Documentation
¶
Overview ¶
Package shortener package containing URL shortener functionality
Package shortener package containing URL shortener functionality
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShortenHandler ¶
type ShortenHandler struct {
// contains filtered or unexported fields
}
ShortenHandler core logic
func NewDictLookupHandler ¶
func NewDictLookupHandler(metricsprefix string) *ShortenHandler
NewDictLookupHandler creates a new instance of type
func NewGrpcLookupHandler ¶
func NewGrpcLookupHandler(metricsprefix string, s string) (*ShortenHandler, error)
NewGrpcLookupHandler returns a new lookuphandler instance
func (*ShortenHandler) RegisterHandlers ¶
func (lh *ShortenHandler) RegisterHandlers(mux *http.ServeMux)
RegisterHandlers attaches handlers to Mux that is passed in
Click to show internal directories.
Click to hide internal directories.