Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RouteManager ¶
type RouteManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(store *etcdstorage.Etcd) *RouteManager
func (*RouteManager) AddRoute ¶
func (m *RouteManager) AddRoute(username, name string, route *Route) error
func (*RouteManager) DelRoute ¶
func (m *RouteManager) DelRoute(username, name string) error
func (*RouteManager) Watch ¶
func (m *RouteManager) Watch(delfunc, putfunc func(userId string, route *Route))
Click to show internal directories.
Click to hide internal directories.