Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABACConfig ¶ added in v1.0.8
type IdentityProvider ¶ added in v1.0.1
type IdentityProvider interface{}
type MasterConfig ¶ added in v1.0.8
type MasterConfig struct {
Server struct {
ServiceName string `yaml:"service_name"`
Host string `yaml:"host"`
Domain string `yaml:"domain"`
} `yaml:"server"`
Files struct {
RbacPath string `yaml:"rbac_path"`
AbacPath string `yaml:"abac_path"`
ViewsPath string `yaml:"views_path"`
} `yaml:"files"`
Views []ViewDefinition `yaml:"views"`
Apps []identity_provider.Application `yaml:"apps"`
Users []identity_provider.Identity `yaml:"users"`
}
type PlatformControl ¶ added in v1.0.2
type PlatformControl struct {
Router *secure_network.Router
}
func Start ¶
func Start( ui *guikit.GUIKit, configPath string, provider IdentityProvider, routeRegister func(routes *RouteModule), ) *PlatformControl
type RBACConfig ¶ added in v1.0.8
type RouteModule ¶ added in v1.0.1
type RouteModule struct {
Server *Server
Views []ViewDefinition
}
func (*RouteModule) Public ¶ added in v1.0.1
func (rm *RouteModule) Public(pattern string, handler http.HandlerFunc)
func (*RouteModule) Secure ¶ added in v1.0.1
func (rm *RouteModule) Secure(pattern string, handler http.HandlerFunc)
type Server ¶
type Server struct {
UI *guikit.GUIKit
AuthProvider IdentityProvider
SearchEngine *orchid_sync.Engine
DB *ultimate_db.DB
Router *secure_network.Router
Admin *identity_provider.AdminController
Audit *identity_provider.AuditController
Logger *logger.LogDispatcher
MeshNode *secure_network.MeshNode
ServiceKeys *service_keys.ServiceKeyManager
}
Click to show internal directories.
Click to hide internal directories.