Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunOption ¶
type RunOption func(*RunOptions)
RunOption is an option of Server.Run().
func WithGracefullContext ¶
WithGracefullContext accepts a context to shutdown a Server with care for existing client connections.
type RunOptions ¶
type RunOptions struct {
	// contains filtered or unexported fields
}
    RunOptions holds a set of configurations for Server.Run().
      
      Source Files
      ¶
    
   Click to show internal directories. 
   Click to hide internal directories.