func ReleaseAccessRsp(value *pb.AccessRsp) {
	value.Reset()
	accessRspsPool.Put(value)
}
ReleaseAccessRsp returns the object acquired via AcquireAccessRsp to the pool.
package util
import (
	"sync"
	"github.com/fagongzi/distributed-limiter/pkg/pb"
)
var (
	putsPool = &sync.Pool{
		New: func() interface{} {
			return &pb.Put{}
		},
	}
	putRspsPool = &sync.Pool{
		New: func() interface{} {
			return &pb.PutRsp{}
		},
	}
	accessesPool = &sync.Pool{
		New: func() interface{} {
			return &pb.Access{}
		},
	}
	accessRspsPool = &sync.Pool{
		New: func() interface{} {
			return &pb.AccessRsp{}
		},
	}
)
func AcquirePut() *pb.Put {
	return putsPool.Get().(*pb.Put)
}
func ReleasePut(value *pb.Put) {
	value.Reset()
	putsPool.Put(value)
}
func AcquirePutRsp() *pb.PutRsp {
	return putRspsPool.Get().(*pb.PutRsp)
}
func ReleasePutRsp(value *pb.PutRsp) {
	value.Reset()
	putRspsPool.Put(value)
}
func AcquireAccess() *pb.Access {
	return accessesPool.Get().(*pb.Access)
}
func ReleaseAccess(value *pb.Access) {
	value.Reset()
	accessesPool.Put(value)
}
func AcquireAccessRsp() *pb.AccessRsp {
	return accessRspsPool.Get().(*pb.AccessRsp)
}