Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
Options semaphore plugin for echo server options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals options based a given key path.
type Semaphore ¶
type Semaphore struct {
// contains filtered or unexported fields
}
Semaphore represents semaphore plugin for echo server.
func NewSemaphore ¶
func NewSemaphore() *Semaphore
NewSemaphore returns a new semaphore plugin with default options.
func NewSemaphoreWithConfigPath ¶
NewSemaphoreWithConfigPath returns a new semaphore plugin with options from config path.
func NewSemaphoreWithOptions ¶
NewSemaphoreWithOptions returns a new semaphore plugin with options.
Click to show internal directories.
Click to hide internal directories.