package schema

// Prime is our service interface. It shows all the operations our service will support.
type Prime interface {
	IsPrime(request *IsPrimeRequest) (*IsPrimeResponse, error)
}

type IsPrimeRequest struct {
	Num int32 `json:"num"`
}

type IsPrimeResponse struct {
	IsPrime bool `json:"is_prime"`
}
