Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChCounter ¶
type ChCounter struct { Outputs chan int // contains filtered or unexported fields }
ChCounter is an atomic counter that requires users to get the value via subscribing to an outputs channel.
func (*ChCounter) NewChCounter ¶
func (chC *ChCounter) NewChCounter()
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
Counter struct that concurrent incrementing integer.
func (*Counter) GetAndIncrement ¶
GetAndIncrement increments the counter and then immediately returns it
type RequestComponents ¶
RequestComponents is an abstraction over the components to be send for a post request.
Click to show internal directories.
Click to hide internal directories.