func NewService(storage storage.Storage, keyLiveTime time.Duration) Setter {
	srv := muxMap{
		decoder:   jsonDecoder{},
		validater: ozzoValidater{},
		setter: &sSetter{
			storage: storage,
		},
		keyLiveTime: keyLiveTime,
	}

	return &srv
}
// NewService returns initialized service.
NewService returns initialized service.
// NewService returns initialized service .
func NewService(storage storage.Storage, keyLiveTime time.Duration) Setter {
	srv := muxMap{
		decoder:   jsonDecoder{},
		validater: ozzoValidater{},
		setter: &sSetter{
			storage: storage,
		},
		keyLiveTime: keyLiveTime,
	}
	return &srv
}
func NewService ( storage storage . Storage , keyLiveTime time . Duration ) Setter { srv := muxMap { decoder : jsonDecoder { } , validater : ozzoValidater { } , setter : & sSetter { storage : storage , } , keyLiveTime : keyLiveTime , } return & srv }
NewService returns initialized service.
NewService returns initialized service .