package gohost

// HosterEndpoint is an interface for an endpoint that can be hosted.
type HosterEndpoint interface {
	// Serve hosts the endpoint.
	Serve()
}

package gohost

// HosterEndpoint is an interface for an endpoint that can be hosted.
type HosterEndpoint interface {
	// Serve hosts the endpoint.
	Serve() error
}

Update interface to return an error.
Update interface to return an error.
