Skip to content

Commit

Permalink
feat: add getter for server to make timeouts adjustable for the caller
Browse files Browse the repository at this point in the history
  • Loading branch information
dreadl0ck committed Jun 17, 2024
1 parent 9d38e43 commit 7db162a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions service/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ func (s *HTTP) Name() string {
return s.name
}

func (s *HTTP) Server() *http.Server {
return s.server
}

// ------------------------------------------------------------------------------------------------
// ~ Public methods
// ------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 7db162a

Please sign in to comment.