foundation

package
v1.13.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2024 License: MIT Imports: 51 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewApplication added in v1.12.0

func NewApplication() foundation.Application

Types

type Application

type Application struct {
	foundation.Container
	// contains filtered or unexported fields
}

func (*Application) BasePath added in v1.12.0

func (app *Application) BasePath(path string) string

func (*Application) Boot

func (app *Application) Boot()

Boot Register and bootstrap configured service providers.

func (*Application) Commands added in v1.12.0

func (app *Application) Commands(commands []consolecontract.Command)

func (*Application) ConfigPath added in v1.12.0

func (app *Application) ConfigPath(path string) string

func (*Application) DatabasePath added in v1.12.0

func (app *Application) DatabasePath(path string) string

func (*Application) Path added in v1.12.0

func (app *Application) Path(path string) string

func (*Application) PublicPath added in v1.12.0

func (app *Application) PublicPath(path string) string

func (*Application) Publishes added in v1.12.0

func (app *Application) Publishes(packageName string, paths map[string]string, groups ...string)

func (*Application) StoragePath added in v1.12.0

func (app *Application) StoragePath(path string) string

type Container added in v1.12.0

type Container struct {
	// contains filtered or unexported fields
}

func NewContainer added in v1.12.0

func NewContainer() *Container

func (*Container) Bind added in v1.12.0

func (c *Container) Bind(key any, callback func(app foundationcontract.Application) (any, error))

func (*Container) BindWith added in v1.12.0

func (c *Container) BindWith(key any, callback func(app foundationcontract.Application, parameters map[string]any) (any, error))

func (*Container) Instance added in v1.12.0

func (c *Container) Instance(key any, ins any)

func (*Container) Make added in v1.12.0

func (c *Container) Make(key any) (any, error)

func (*Container) MakeArtisan added in v1.12.0

func (c *Container) MakeArtisan() consolecontract.Artisan

func (*Container) MakeAuth added in v1.12.0

func (c *Container) MakeAuth() authcontract.Auth

func (*Container) MakeCache added in v1.12.0

func (c *Container) MakeCache() cachecontract.Cache

func (*Container) MakeConfig added in v1.12.0

func (c *Container) MakeConfig() configcontract.Config

func (*Container) MakeCrypt added in v1.12.0

func (c *Container) MakeCrypt() cryptcontract.Crypt

func (*Container) MakeEvent added in v1.12.0

func (c *Container) MakeEvent() eventcontract.Instance

func (*Container) MakeGate added in v1.12.0

func (c *Container) MakeGate() accesscontract.Gate

func (*Container) MakeGrpc added in v1.12.0

func (c *Container) MakeGrpc() grpccontract.Grpc

func (*Container) MakeHash added in v1.12.0

func (c *Container) MakeHash() hashcontract.Hash

func (*Container) MakeLog added in v1.12.0

func (c *Container) MakeLog() logcontract.Log

func (*Container) MakeMail added in v1.12.0

func (c *Container) MakeMail() mailcontract.Mail

func (*Container) MakeOrm added in v1.12.0

func (c *Container) MakeOrm() ormcontract.Orm

func (*Container) MakeQueue added in v1.12.0

func (c *Container) MakeQueue() queuecontract.Queue

func (*Container) MakeRateLimiter added in v1.12.0

func (c *Container) MakeRateLimiter() httpcontract.RateLimiter

func (*Container) MakeRoute added in v1.12.0

func (c *Container) MakeRoute() routecontract.Route

func (*Container) MakeSchedule added in v1.12.0

func (c *Container) MakeSchedule() schedulecontract.Schedule

func (*Container) MakeSeeder added in v1.12.6

func (c *Container) MakeSeeder() seerdercontract.Facade

func (*Container) MakeStorage added in v1.12.0

func (c *Container) MakeStorage() filesystemcontract.Storage

func (*Container) MakeTesting added in v1.13.0

func (c *Container) MakeTesting() testingcontract.Testing

func (*Container) MakeValidation added in v1.12.0

func (c *Container) MakeValidation() validationcontract.Validation

func (*Container) MakeView added in v1.13.1

func (c *Container) MakeView() httpcontract.View

func (*Container) MakeWith added in v1.12.0

func (c *Container) MakeWith(key any, parameters map[string]any) (any, error)

func (*Container) Singleton added in v1.12.0

func (c *Container) Singleton(key any, callback func(app foundationcontract.Application) (any, error))

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL