Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SandboxUser ¶
type UsersV0 ¶
type UsersV0 struct { AppspaceUsersV0 interface { Get(appspaceID domain.AppspaceID, proxyID domain.ProxyID) (domain.AppspaceUser, error) GetAll(appspaceID domain.AppspaceID) ([]domain.AppspaceUser, error) } // contains filtered or unexported fields }
UsersV0 responds to requests about appspace users for the appspace
func (*UsersV0) HandleMessage ¶
func (u *UsersV0) HandleMessage(message twine.ReceivedMessageI)
HandleMessage processes a command and payload from the reverse listener
type V0Services ¶
type V0Services struct { UsersModel domain.ReverseServiceI AppspaceDB domain.ReverseServiceI }
V0Services is a twine handler for reverse services with API version 0
func (*V0Services) HandleMessage ¶
func (s *V0Services) HandleMessage(message twine.ReceivedMessageI)
HandleMessage passes the message along to the relevant service
type VXServices ¶
type VXServices struct { AppspaceUsersV0 interface { Get(appspaceID domain.AppspaceID, proxyID domain.ProxyID) (domain.AppspaceUser, error) GetAll(appspaceID domain.AppspaceID) ([]domain.AppspaceUser, error) } V0AppspaceDB serviceGetter }
VXServices holds the structs necessary to create a service for any api version
func (*VXServices) Get ¶
func (x *VXServices) Get(appspace *domain.Appspace, api domain.APIVersion) (service domain.ReverseServiceI)
Get returns a reverse service for the appspace
Click to show internal directories.
Click to hide internal directories.