Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultTimeDuration = 10 * time.Minute DefaultTickerDuration = time.Minute )
View Source
var ErrClientIDNotFound = errors.New("client id not found")
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { RoundTripper func(_ context.Context, transport http.RoundTripper) (http.RoundTripper, error) Cancel context.CancelFunc }
type AuthConfig ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
var GlobalRegistry *Registry
func InitGlobalRegistry ¶
func (*Registry) AddService ¶
func (r *Registry) AddService(cfg AuthConfig) (func(_ context.Context, transport http.RoundTripper) (http.RoundTripper, error), error)
Click to show internal directories.
Click to hide internal directories.