app

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAllApp

func InitAllApp() error

func LoadGrpcApp

func LoadGrpcApp(server *grpc.Server) error

LoadGrpcApp load all Grpc app

func LoadedGrpcApp

func LoadedGrpcApp() (apps []string)

LoadedGrpcApp query successfully loaded services

func RegistryGrpcApp

func RegistryGrpcApp(app GRPCApp)

RegistryGrpcApp RegistryService service Instance Registration

Types

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