services

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get[T ServiceType](app any) (*T, error)

Types

type Auth

type Auth = authservice.AuthService

type Content

type File

type File = fileservice.FileService

type Role

type Role = roleservice.RoleService

type Schema

type ServiceType

type ServiceType interface {
	File | Role | Schema | Content | Tool | Auth | Realtime
}

type Services

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

func New

func New(app fs.App) *Services

func (*Services) Auth

func (s *Services) Auth() *authservice.AuthService

func (*Services) Content

func (s *Services) Content() *contentservice.ContentService

func (*Services) File

func (s *Services) File() *fileservice.FileService

func (*Services) Realtime

func (s *Services) Realtime() *realtimeservice.RealtimeService

func (*Services) Role

func (s *Services) Role() *roleservice.RoleService

func (*Services) Schema

func (s *Services) Schema() *schemaservice.SchemaService

func (*Services) Tool

func (s *Services) Tool() *toolservice.ToolService

type ServicesProvider

type ServicesProvider interface {
	Services() *Services
}

type Tool

type Tool = toolservice.ToolService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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