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