πServerOpt
SeverOpt functions let you override default values
type ServerOpt func(*Server)WithAddr
func WithAddr(string) ServerOpts := pps.New(WithAddr("127.0.0.1"))WithPort
func WithPort(string) ServerOpts := pps.New(WithPort("10006"))Last updated