Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListNamespaces ¶
type ListNamespaces []Namespace
ListNamespaces is the response struct for the ListNamespaces endpoint (slice of Namespace).
func NewListNamespacesResponse ¶
func NewListNamespacesResponse( namespaces []models.Namespace, ) *ListNamespaces
NewListNamespacesResponse creates new instance of ListNamespaces.
type Namespace ¶
type Namespace struct { ID uint `json:"id"` Code string `json:"code"` Description string `json:"description"` }
Namespace is the response struct for the GetCurrentNamespace endpoint.
func NewGetCurrentNamespaceResponse ¶
NewGetCurrentNamespaceResponse creates new instance of Namespace.
Click to show internal directories.
Click to hide internal directories.