Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct {
IController
}
type IController ¶
type IController interface {
Bind(engine *gin.Engine, loginMiddleware gin.HandlerFunc)
Close()
}
type LoadBalancer ¶
type LoadBalancer struct {
IController
// contains filtered or unexported fields
}
func NewLoadBalancer ¶
func NewLoadBalancer(endpoints []url.URL, path string, auth bool) *LoadBalancer
func (*LoadBalancer) Bind ¶
func (l *LoadBalancer) Bind(engine *gin.Engine, loginMiddleware gin.HandlerFunc)
func (*LoadBalancer) Close ¶
func (l *LoadBalancer) Close()
type Static ¶
type Static struct {
IController
// contains filtered or unexported fields
}
type UserObject ¶
Click to show internal directories.
Click to hide internal directories.