Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authorization ¶
func Authorization() gin.HandlerFunc
func ServiceDiscovery ¶
func ServiceDiscovery() gin.HandlerFunc
func Tracing ¶
func Tracing() gin.HandlerFunc
func Translations ¶
func Translations() gin.HandlerFunc
Types ¶
type LoadBalancer ¶
func NewRandom ¶
func NewRandom(seed int64) LoadBalancer
NewRandom returns a load balancer that selects services randomly.
type Options ¶
type Options struct { Secret string IgnoreMethods []string ErrorFunc gin.HandlerFunc TokenGetter func(c *gin.Context) string }
Options stores configurations for a CSRF middleware.
type ServiceCache ¶
type ServiceCache struct {
// contains filtered or unexported fields
}
func NewServiceCache ¶
func NewServiceCache() *ServiceCache
Click to show internal directories.
Click to hide internal directories.