Documentation ¶
Index ¶
- type Application
- func (app *Application) Client(ctx context.Context, name string) (*grpc.ClientConn, error)
- func (app *Application) Run(host string) error
- func (app *Application) Server() *grpc.Server
- func (app *Application) UnaryClientInterceptorGroups(unaryClientInterceptorGroups map[string][]grpc.UnaryClientInterceptor)
- func (app *Application) UnaryServerInterceptors(unaryServerInterceptors []grpc.UnaryServerInterceptor)
- type ServiceProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶ added in v1.0.31
func NewApplication() *Application
func (*Application) Client ¶ added in v1.0.31
func (app *Application) Client(ctx context.Context, name string) (*grpc.ClientConn, error)
func (*Application) Run ¶
func (app *Application) Run(host string) error
func (*Application) Server ¶
func (app *Application) Server() *grpc.Server
func (*Application) UnaryClientInterceptorGroups ¶ added in v1.0.31
func (app *Application) UnaryClientInterceptorGroups(unaryClientInterceptorGroups map[string][]grpc.UnaryClientInterceptor)
func (*Application) UnaryServerInterceptors ¶ added in v1.0.31
func (app *Application) UnaryServerInterceptors(unaryServerInterceptors []grpc.UnaryServerInterceptor)
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (route *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (route *ServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.