package init

import "github.com/go-arrower/arrower/contexts/admin/init"

Package init is the context's startup API.

Put all initialisations here. For example, load context-specific configuration, setup dependency injection, register routes, workers and more.

Index

Types

type AdminContext

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

func NewAdminContext

func NewAdminContext(ctx context.Context, di *arrower.Container) (*AdminContext, error)

func (*AdminContext) Shutdown

func (c *AdminContext) Shutdown(_ context.Context) error

Source Files

adminroutes.admin.go init.admin.go

Version
v0.0.0-20250311203644-ab26c1152cb4 (latest)
Published
Mar 11, 2025
Platform
linux/amd64
Imports
22 packages
Last checked
1 week ago

Tools for package owners.