Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(srv PurlService) Handler
type Health ¶
type Health struct {
// contains filtered or unexported fields
}
func (Health) HealthCheck ¶
type PurlService ¶
type PurlService interface { Short(ctx context.Context, sReq param.ShortRequest) (param.ShortResponse, error) GetLong(ctx context.Context, surl param.LongRequest) (param.LongResponse, error) GetLongInfo(ctx context.Context, surl param.LongInfoRequest) (param.LongInfoResponse, error) }
Click to show internal directories.
Click to hide internal directories.