Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Propagator ¶
type Propagator struct {
// contains filtered or unexported fields
}
func NewPropagator ¶
func NewPropagator(cookieName string, opts ...PropagatorOption) *Propagator
func (*Propagator) Inject ¶
func (p *Propagator) Inject(id string, writer http.ResponseWriter) error
func (*Propagator) Remove ¶
func (p *Propagator) Remove(writer http.ResponseWriter) error
type PropagatorOption ¶
type PropagatorOption func(propagator *Propagator)
func WithCookieOption ¶
func WithCookieOption(opt func(c *http.Cookie)) PropagatorOption
Click to show internal directories.
Click to hide internal directories.