You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: options.go
    path of file: ./repos/plumber/vendor/github.com/kubemq-io/kubemq-go/queues_stream
    
    the code of the file until where you have to start completion: package queues_stream

import (
	"errors"
	"time"
)

const kubeMQAuthTokenHeader = "authorization"

type Option in
    
func (o *Options) Validate() error {

	if o.host == "" {
		return errors.New("invalid host")
	}
	if o.port <= 0 {
		return errors.New("invalid port")
	}

	return nil
}