test(config): add test for keyloc and header size
This commit is contained in:
@@ -23,6 +23,7 @@ type Config interface {
|
||||
AllowedPortsEnd() uint16
|
||||
|
||||
BufferSize() int
|
||||
HeaderSize() int
|
||||
|
||||
PprofEnabled() bool
|
||||
PprofPort() string
|
||||
@@ -60,6 +61,7 @@ func (c *config) ACMEStaging() bool { return c.acmeStaging }
|
||||
func (c *config) AllowedPortsStart() uint16 { return c.allowedPortsStart }
|
||||
func (c *config) AllowedPortsEnd() uint16 { return c.allowedPortsEnd }
|
||||
func (c *config) BufferSize() int { return c.bufferSize }
|
||||
func (c *config) HeaderSize() int { return c.headerSize }
|
||||
func (c *config) PprofEnabled() bool { return c.pprofEnabled }
|
||||
func (c *config) PprofPort() string { return c.pprofPort }
|
||||
func (c *config) Mode() types.ServerMode { return c.mode }
|
||||
|
||||
Reference in New Issue
Block a user