Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type General ¶
type General struct {
// contains filtered or unexported fields
}
General contains implementation structures for tracking multiple instances of GeneralType.
func NewGeneral ¶
func NewGeneral() *General
NewGeneral is a factory function that returns an initialized General receiver struct.
func (*General) Get ¶
func (c *General) Get(clientName string) (client GeneralType, ok bool)
Get returns the GeneralType and ok = true for the requested client name if it exists, otherwise ok = false.
func (*General) Set ¶
func (c *General) Set(clientName string, value GeneralType)
Set updates the list of clients to ensure the provided clientName key contains the provided GeneralType value.
type GeneralType ¶
type GeneralType general.GeneralClient
GeneralType is an alias for general.GeneralClient and hides implementation detail.
Click to show internal directories.
Click to hide internal directories.