Documentation
¶
Index ¶
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
}
Application выполняет роль Оркестратора для списка серверов.
func NewApplication ¶
func NewApplication(opts Options, servers ...Server) *Application
type CloserServer ¶
type CloserServer struct {
// contains filtered or unexported fields
}
CloserServer — "виртуальный" Server для освобождения ресурсов на shutdown.
func NewCloserServer ¶
func NewCloserServer(name string, closeFn func(context.Context) error) *CloserServer
func (*CloserServer) Name ¶
func (s *CloserServer) Name() string
Click to show internal directories.
Click to hide internal directories.