Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdderAdminResources ¶
type AdderAdminResources interface {
AddResource(value interface{}, config ...*admin.Config) *admin.Resource
}
AdderAdminResources adds resources to the admin
type AdminRegister ¶
type AdminRegister interface { RegisterApp(a interface{ ResourcesAdder }) MountTo(mountTo string, mux *http.ServeMux) }
AdminRegister is the app register interface
type ResourcesAdder ¶
type ResourcesAdder interface {
AddAdminResources(admin interface{ AdderAdminResources })
}
ResourcesAdder add the app admin resources
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the server object
func NewServer ¶
func NewServer(admin AdminRegister, apps ...ResourcesAdder) *Server
NewServer returns a new admin object.
Click to show internal directories.
Click to hide internal directories.