app

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAllApp

func InitAllApp(ctx context.Context, wg *sync.WaitGroup) error

func LoadGrpcApp

func LoadGrpcApp(server *grpc.Server) error

LoadGrpcApp load all Grpc app

func LoadedDaemonApp added in v1.1.1

func LoadedDaemonApp() (apps []string)

LoadedDaemonApp query successfully loaded services

func LoadedGrpcApp

func LoadedGrpcApp() (apps []string)

LoadedGrpcApp query successfully loaded services

func RegistryDaemonApp added in v1.1.1

func RegistryDaemonApp(app DaemonApp)

func RegistryGrpcApp

func RegistryGrpcApp(app GRPCApp)

RegistryGrpcApp RegistryService service Instance Registration

Types

type DaemonApp added in v1.1.1

type DaemonApp interface {
	Registry(context.Context, *sync.WaitGroup)
	Config() error
	Name() string
}

DaemonApp DaemonService instance

type GRPCApp

type GRPCApp interface {
	Registry(*grpc.Server)
	Config() error
	Name() string
}

GRPCApp GRPCService instance

func GetGrpcApp

func GetGrpcApp(name string) GRPCApp

Jump to

Keyboard shortcuts

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