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 ¶
func NewApplication() *Application
func (*Application) Client ¶
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 ¶
func (app *Application) UnaryClientInterceptorGroups(unaryClientInterceptorGroups map[string][]grpc.UnaryClientInterceptor)
func (*Application) UnaryServerInterceptors ¶
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.