Documentation ¶
Index ¶
- func MountRoutes() func(r chi.Router)
- type ManageStructure
- func (ctrl ManageStructure) CreateExposed(ctx context.Context, r *request.ManageStructureCreateExposed) (interface{}, error)
- func (ctrl ManageStructure) CreateMappings(ctx context.Context, r *request.ManageStructureCreateMappings) (interface{}, error)
- func (ctrl ManageStructure) ListAll(ctx context.Context, r *request.ManageStructureListAll) (interface{}, error)
- func (ManageStructure) New() *ManageStructure
- func (ctrl ManageStructure) ReadExposed(ctx context.Context, r *request.ManageStructureReadExposed) (interface{}, error)
- func (ctrl ManageStructure) ReadMappings(ctx context.Context, r *request.ManageStructureReadMappings) (interface{}, error)
- func (ctrl ManageStructure) ReadShared(ctx context.Context, r *request.ManageStructureReadShared) (interface{}, error)
- func (ctrl ManageStructure) RemoveExposed(ctx context.Context, r *request.ManageStructureRemoveExposed) (interface{}, error)
- func (ctrl ManageStructure) UpdateExposed(ctx context.Context, r *request.ManageStructureUpdateExposed) (interface{}, error)
- type Node
- func (ctrl Node) Create(ctx context.Context, r *request.NodeCreate) (interface{}, error)
- func (ctrl Node) Delete(ctx context.Context, r *request.NodeDelete) (interface{}, error)
- func (ctrl Node) GenerateURI(ctx context.Context, r *request.NodeGenerateURI) (interface{}, error)
- func (ctrl Node) HandshakeComplete(ctx context.Context, r *request.NodeHandshakeComplete) (interface{}, error)
- func (ctrl Node) HandshakeConfirm(ctx context.Context, r *request.NodeHandshakeConfirm) (interface{}, error)
- func (Node) New() *Node
- func (ctrl Node) Pair(ctx context.Context, r *request.NodePair) (interface{}, error)
- func (ctrl Node) Read(ctx context.Context, r *request.NodeRead) (interface{}, error)
- func (ctrl Node) Search(ctx context.Context, r *request.NodeSearch) (interface{}, error)
- func (ctrl Node) Undelete(ctx context.Context, r *request.NodeUndelete) (interface{}, error)
- func (ctrl Node) Update(ctx context.Context, r *request.NodeUpdate) (interface{}, error)
- type NodeHandshake
- type Permissions
- func (ctrl Permissions) Delete(ctx context.Context, r *request.PermissionsDelete) (interface{}, error)
- func (ctrl Permissions) Effective(ctx context.Context, r *request.PermissionsEffective) (interface{}, error)
- func (ctrl Permissions) List(ctx context.Context, r *request.PermissionsList) (interface{}, error)
- func (Permissions) New() *Permissions
- func (ctrl Permissions) Read(ctx context.Context, r *request.PermissionsRead) (interface{}, error)
- func (ctrl Permissions) Trace(ctx context.Context, r *request.PermissionsTrace) (interface{}, error)
- func (ctrl Permissions) Update(ctx context.Context, r *request.PermissionsUpdate) (interface{}, error)
- type SyncData
- func (SyncData) New() *SyncData
- func (ctrl SyncData) ReadExposedAll(ctx context.Context, r *request.SyncDataReadExposedAll) (interface{}, error)
- func (ctrl SyncData) ReadExposedInternal(ctx context.Context, r *request.SyncDataReadExposedInternal) (interface{}, error)
- func (ctrl SyncData) ReadExposedSocial(ctx context.Context, r *request.SyncDataReadExposedSocial) (interface{}, error)
- type SyncStructure
- func (SyncStructure) New() *SyncStructure
- func (ctrl SyncStructure) ReadExposedInternal(ctx context.Context, r *request.SyncStructureReadExposedInternal) (interface{}, error)
- func (ctrl SyncStructure) ReadExposedSocial(ctx context.Context, r *request.SyncStructureReadExposedSocial) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MountRoutes ¶
func MountRoutes() func(r chi.Router)
Types ¶
type ManageStructure ¶
type ManageStructure struct{}
func (ManageStructure) CreateExposed ¶
func (ctrl ManageStructure) CreateExposed(ctx context.Context, r *request.ManageStructureCreateExposed) (interface{}, error)
func (ManageStructure) CreateMappings ¶
func (ctrl ManageStructure) CreateMappings(ctx context.Context, r *request.ManageStructureCreateMappings) (interface{}, error)
func (ManageStructure) ListAll ¶
func (ctrl ManageStructure) ListAll(ctx context.Context, r *request.ManageStructureListAll) (interface{}, error)
ListAll show the list of exposed / shared / mapped modules
func (ManageStructure) New ¶
func (ManageStructure) New() *ManageStructure
func (ManageStructure) ReadExposed ¶
func (ctrl ManageStructure) ReadExposed(ctx context.Context, r *request.ManageStructureReadExposed) (interface{}, error)
func (ManageStructure) ReadMappings ¶
func (ctrl ManageStructure) ReadMappings(ctx context.Context, r *request.ManageStructureReadMappings) (interface{}, error)
ReadMappings outputs an object with the module mappings per each federation module
func (ManageStructure) ReadShared ¶
func (ctrl ManageStructure) ReadShared(ctx context.Context, r *request.ManageStructureReadShared) (interface{}, error)
func (ManageStructure) RemoveExposed ¶
func (ctrl ManageStructure) RemoveExposed(ctx context.Context, r *request.ManageStructureRemoveExposed) (interface{}, error)
func (ManageStructure) UpdateExposed ¶
func (ctrl ManageStructure) UpdateExposed(ctx context.Context, r *request.ManageStructureUpdateExposed) (interface{}, error)
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (Node) GenerateURI ¶
func (Node) HandshakeComplete ¶
func (Node) HandshakeConfirm ¶
type NodeHandshake ¶
type NodeHandshake struct {
// contains filtered or unexported fields
}
func (NodeHandshake) Initialize ¶
func (ctrl NodeHandshake) Initialize(ctx context.Context, r *request.NodeHandshakeInitialize) (interface{}, error)
func (NodeHandshake) New ¶
func (NodeHandshake) New() *NodeHandshake
type Permissions ¶
type Permissions struct {
// contains filtered or unexported fields
}
func (Permissions) Delete ¶
func (ctrl Permissions) Delete(ctx context.Context, r *request.PermissionsDelete) (interface{}, error)
func (Permissions) Effective ¶
func (ctrl Permissions) Effective(ctx context.Context, r *request.PermissionsEffective) (interface{}, error)
func (Permissions) List ¶
func (ctrl Permissions) List(ctx context.Context, r *request.PermissionsList) (interface{}, error)
func (Permissions) New ¶
func (Permissions) New() *Permissions
func (Permissions) Read ¶
func (ctrl Permissions) Read(ctx context.Context, r *request.PermissionsRead) (interface{}, error)
func (Permissions) Trace ¶
func (ctrl Permissions) Trace(ctx context.Context, r *request.PermissionsTrace) (interface{}, error)
func (Permissions) Update ¶
func (ctrl Permissions) Update(ctx context.Context, r *request.PermissionsUpdate) (interface{}, error)
type SyncData ¶
type SyncData struct{}
func (SyncData) ReadExposedAll ¶
func (SyncData) ReadExposedInternal ¶
func (ctrl SyncData) ReadExposedInternal(ctx context.Context, r *request.SyncDataReadExposedInternal) (interface{}, error)
ReadExposedInternal fetches all the data - records (with paging) for an exposed module in an internal format
func (SyncData) ReadExposedSocial ¶
func (ctrl SyncData) ReadExposedSocial(ctx context.Context, r *request.SyncDataReadExposedSocial) (interface{}, error)
ReadExposedInternal fetches all the data - records (with paging) for an exposed module in activity streams format
type SyncStructure ¶
type SyncStructure struct{}
func (SyncStructure) New ¶
func (SyncStructure) New() *SyncStructure
func (SyncStructure) ReadExposedInternal ¶
func (ctrl SyncStructure) ReadExposedInternal(ctx context.Context, r *request.SyncStructureReadExposedInternal) (interface{}, error)
ReadExposedInternal gets the exposed module info and serves the internal Corteza format of the structure
func (SyncStructure) ReadExposedSocial ¶
func (ctrl SyncStructure) ReadExposedSocial(ctx context.Context, r *request.SyncStructureReadExposedSocial) (interface{}, error)
ReadExposedSocial gets the exposed module info and serves the activity streams format of the structure
Source Files ¶
Click to show internal directories.
Click to hide internal directories.