Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallHandlers ¶
func InstallHandlers(r *router.Router, cc *ClientCache, appVersion string)
InstallHandlers install CAS Viewer handlers to the router.
Types ¶
type ClientCache ¶
type ClientCache struct {
// contains filtered or unexported fields
}
ClientCache caches CAS clients, one per an instance.
func NewClientCache ¶
func NewClientCache(ctx context.Context) *ClientCache
NewClientCache initializes ClientCache.
func (*ClientCache) Clear ¶
func (cc *ClientCache) Clear()
Clear closes Clients gracefully, and removes them from cache.
Click to show internal directories.
Click to hide internal directories.