Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NetworksServiceName rest.ServiceName = "networks"
Functions ¶
func RegisterNewGetOperation ¶
RegisterNewGetOperation registers a new GET operation to retrieve details for all supported networks.
Types ¶
type InputNetwork ¶
type InputNetwork struct{}
type Namespace ¶
Namespace represents the namespace for network-related REST operations.
func NewNamespace ¶
func NewNamespace(server *rest.Server, db db.Adapter, pool *clients.ClientPool, nats *nats.Conn, cache *cache.Redis) *Namespace
NewNamespace creates a new Namespace instance.
func (*Namespace) GetName ¶
func (s *Namespace) GetName() rest.ServiceName
GetName returns the service name for the namespace.
func (*Namespace) RegisterHandlers ¶
RegisterHandlers registers the handlers for the namespace.
Click to show internal directories.
Click to hide internal directories.