Versions in this module Expand all Collapse all v0 v0.0.10 Apr 10, 2026 v0.0.9 Mar 17, 2026 Changes in this version + const AppName + const DEFAULT_NS_NAME + type CreateNamespaceRequest struct + Description string + Enabled bool + Extras map[string]string + Icon string + Label string + Name string + OwnerUserId uint64 + ParentId uint64 + func NewCreateNamespaceRequest() *CreateNamespaceRequest + func (r *CreateNamespaceRequest) Validate() error + type DeleteNamespaceRequest struct + func NewDeleteNamespaceRequest() *DeleteNamespaceRequest + type DescribeNamespaceRequest struct + func NewDescribeNamespaceRequest() *DescribeNamespaceRequest + func (r *DescribeNamespaceRequest) SetNamespaceId(id uint64) *DescribeNamespaceRequest + type Namespace struct + func NewNamespace() *Namespace + func (n *Namespace) IsOwner(ownerUserId uint64) bool + func (n *Namespace) String() string + func (n *Namespace) TableName() string + type QueryNamespaceRequest struct + NamespaceIds []uint64 + func NewQueryNamespaceRequest() *QueryNamespaceRequest + func (r *QueryNamespaceRequest) AddNamespaceIds(ids ...uint64) + func (r *QueryNamespaceRequest) HasNamespaceIds(namespaceId uint64) bool + type Service interface + CreateNamespace func(context.Context, *CreateNamespaceRequest) (*Namespace, error) + DeleteNamespace func(context.Context, *DeleteNamespaceRequest) (*Namespace, error) + DescribeNamespace func(context.Context, *DescribeNamespaceRequest) (*Namespace, error) + QueryNamespace func(context.Context, *QueryNamespaceRequest) (*types.Set[*Namespace], error) + UpdateNamespace func(context.Context, *UpdateNamespaceRequest) (*Namespace, error) + func GetService() Service + type UpdateNamespaceRequest struct + func NewUpdateNamespaceRequest() *UpdateNamespaceRequest