Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebCallback ¶
type WebCallback struct {
// contains filtered or unexported fields
}
WebCallback is a web server that will wait for a callback
func New ¶
func New(opts ...Options) *WebCallback
func (*WebCallback) Close ¶
func (wb *WebCallback) Close()
func (*WebCallback) Port ¶
func (wb *WebCallback) Port() int
Port returns the port used by the web server. It may be chosen randomly if let as default when starting server.
func (*WebCallback) Start ¶
func (wb *WebCallback) Start() error
Click to show internal directories.
Click to hide internal directories.