Documentation
¶
Overview ¶
Package util provides utility structs and methods for Open Match.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiClose ¶
type MultiClose struct {
// contains filtered or unexported fields
}
MultiClose is a helper for closing multiple close functions at the end of a program.
func (*MultiClose) AddCloseFunc ¶
func (mc *MultiClose) AddCloseFunc(closer func())
AddCloseFunc adds a close function.
func (*MultiClose) AddCloseWithErrorFunc ¶
func (mc *MultiClose) AddCloseWithErrorFunc(closer func() error)
AddCloseWithErrorFunc adds a close function.
func (*MultiClose) Close ¶
func (mc *MultiClose) Close()
Close shutsdown the server and frees the TCP port.
Click to show internal directories.
Click to hide internal directories.