Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminService ¶
type AdminService struct {
// contains filtered or unexported fields
}
func NewAdminService ¶
func NewAdminService(config config.Config, logger *zap.Logger) *AdminService
func (*AdminService) Close ¶
func (s *AdminService) Close()
Close stops the server and wait for them to exit.
func (*AdminService) Serve ¶
func (s *AdminService) Serve() (string, error)
Serve starts the service and returns the server address.
Note this won't always be the same as the configured address, such as if port 0 used the system will assign a free port.
Click to show internal directories.
Click to hide internal directories.