Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DoSHTTP naming constant for dependency injection
DoSHTTP = "shttp"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SHttp ¶
type SHttp struct { Started bool // contains filtered or unexported fields }
SHttp a service encapsulating http and https server
func (*SHttp) GetTLSConfig ¶
GetTLSConfig generates the tls config, getting certificate from ca service
func (*SHttp) ShutdownServers ¶
func (s *SHttp) ShutdownServers()
ShutdownServers shutting all servers down
func (*SHttp) StartServers ¶
func (s *SHttp) StartServers(router, healthRouter *chi.Mux)
StartServers starting all needed http servers
Click to show internal directories.
Click to hide internal directories.