Versions in this module Expand all Collapse all v0 v0.5.0 Apr 12, 2023 Changes in this version + const DefaultTimeout + type GS struct + func NewGS(cap int, timeout time.Duration) *GS + func (gs *GS) Add(ch StopCh) + func (gs *GS) Break() + func (gs *GS) Server(srv *http.Server) + func (gs *GS) SetServerAndWatch(srv *http.Server) + func (gs *GS) Wait() + func (gs *GS) Watch() + type StopCh chan struct