Documentation ¶
Index ¶
Constants ¶
View Source
const ( Int64Max = 1<<63 - 1 Int64Min = -(Int64Max + 1) )
Service constants
Variables ¶
View Source
var (
ErrIntOverflow = errors.New("integer overflow occurred")
)
Service errors
Functions ¶
func NewHTTPHandler ¶
func NewHTTPHandler(tracer opentracing.Tracer, service Service) http.Handler
NewHTTPHandler returns a new HTTP handler our svc2.
Types ¶
type Service ¶
Service interface to our svc2 service.
func NewHTTPClient ¶
func NewHTTPClient(tracer opentracing.Tracer, baseURL string) Service
NewHTTPClient returns a new client instance to our svc2 using the HTTP transport.
Click to show internal directories.
Click to hide internal directories.