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: http_server.go
    path of file: ./repos/chainlink/core/services/gateway/network/mocks
    
    the code of the file until where you have to start completion: // Code generated by mockery v2.38.0. DO NOT EDIT.

package mocks

import (
	context "context"

	network "github.com/smartcont
    
func (_m *HttpServer) Close() error {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for Close")
	}

	var r0 error
	if rf, ok := ret.Get(0).(func() error); ok {
		r0 = rf()
	} else {
		r0 = ret.Error(0)
	}

	return r0
}